Package eu.bandm.tools.util.java
Class Predicates
java.lang.Object
eu.bandm.tools.util.java.Predicates
Library of constants and combinators for classes implementing
Predicate
.-
Method Summary
Modifier and TypeMethodDescriptionstatic <A> Predicate<A>
static <A> Predicate<A>
bottom()
characteristic
(Predicate<A> pred) static <A> void
classify
(Predicate<? super A> pred, Collection<? extends A> in, Collection<? super A> positive, Collection<? super A> negative) static <A> Predicate<A>
eq
(A a) static <A> Predicate<A>
static <A extends Comparable<? super A>>
Predicate<A>geq
(A a) static <A extends Comparable<? super A>>
Predicate<A>gt
(A a) static <A> Predicate<A>
instanceOf
(Class<?> c) static <A> Predicate<A>
static <A extends Comparable<? super A>>
Predicate<A>leq
(A a) static <A extends Comparable<? super A>>
Predicate<A>lt
(A a) static <A> Predicate<A>
memberOf
(Collection<? super A> c) static <A> Predicate<A>
static <A> Predicate<A>
notNull()
static <A> Predicate<A>
static <A> Predicate<A>
static <A> Predicate<A>
top()
static <A,
B> Predicate<A> static <A> Predicate<A>
-
Method Details
-
top
-
bottom
-
notNull
-
not
-
and
-
or
-
xor
-
eq
-
leq
-
lt
-
geq
-
gt
-
equal
-
instanceOf
-
test
-
characteristic
-
bracket
-
memberOf
-
keyOf
-
totalize
-
classify
@Undocumented public static <A> void classify(Predicate<? super A> pred, Collection<? extends A> in, Collection<? super A> positive, Collection<? super A> negative)
-