1 // Copyright 2013 The Flutter Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package io.flutter.util; 6 7 // TODO(dnfield): remove this if/when we can use appcompat to support it. 8 // java.util.function.Predicate isn't available until API24 9 public interface Predicate<T> { test(T t)10 public abstract boolean test(T t); 11 } 12