mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-12812 remove dependency on Predicate
X-SVN-Rev: 39879
This commit is contained in:
parent
7a7620e5fc
commit
0532404ce9
2 changed files with 12 additions and 1 deletions
|
@ -387,4 +387,15 @@ public class XCldrStub {
|
|||
return show;
|
||||
}
|
||||
}
|
||||
|
||||
public interface Predicate<T> {
|
||||
/**
|
||||
* Evaluates this predicate on the given argument.
|
||||
*
|
||||
* @param t the input argument
|
||||
* @return {@code true} if the input argument matches the predicate,
|
||||
* otherwise {@code false}
|
||||
*/
|
||||
boolean test(T t);
|
||||
}
|
||||
}
|
|
@ -18,7 +18,6 @@ import java.util.Objects;
|
|||
import java.util.Set;
|
||||
import java.util.TreeMap;
|
||||
import java.util.TreeSet;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import com.ibm.icu.impl.ICUResourceBundle;
|
||||
import com.ibm.icu.impl.Row;
|
||||
|
@ -30,6 +29,7 @@ import com.ibm.icu.impl.locale.XCldrStub.ImmutableSet;
|
|||
import com.ibm.icu.impl.locale.XCldrStub.LinkedHashMultimap;
|
||||
import com.ibm.icu.impl.locale.XCldrStub.Multimap;
|
||||
import com.ibm.icu.impl.locale.XCldrStub.Multimaps;
|
||||
import com.ibm.icu.impl.locale.XCldrStub.Predicate;
|
||||
import com.ibm.icu.impl.locale.XCldrStub.Splitter;
|
||||
import com.ibm.icu.impl.locale.XCldrStub.TreeMultimap;
|
||||
import com.ibm.icu.impl.locale.XLikelySubtags.LSR;
|
||||
|
|
Loading…
Add table
Reference in a new issue