Package eu.bandm.tools.ops
Class Relations
java.lang.Object
eu.bandm.tools.ops.Relations
Library of constants and combinators for classes implementing
Relation
.-
Method Summary
Modifier and TypeMethodDescriptionstatic <A,
B> Relation<A, B> all()
Deprecated.static <A,
B> Relation<A, B> complement
(Relation<? super A, ? super B> r) Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<Collection<? extends A>, Collection<? extends B>> Deprecated.useBiPredicate
insteadstatic <A,
B> BiPredicate<Collection<? extends A>, Collection<? extends B>> cover
(BiPredicate<A, B> rel) static <A,
B> Relation<A, B> eq()
Deprecated.useBiPredicate
insteadstatic <A extends Comparable<? super A>>
Relation<A,A> equal()
Deprecated.useBiPredicate
insteadstatic <A> Relation<A,
A> equal
(Comparator<? super A> order) Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<A, B> equals()
Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<A, B> Deprecated.useBiPredicate
insteadstatic <A extends Comparable<? super A>>
Relation<A,A> greater()
Deprecated.useBiPredicate
insteadstatic <A> Relation<A,
A> greater
(Comparator<? super A> order) Deprecated.useBiPredicate
insteadstatic <A extends Comparable<? super A>>
Relation<A,A> Deprecated.useBiPredicate
insteadstatic <A> Relation<A,
A> greaterOrEqual
(Comparator<? super A> order) Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<A, B> intersection
(Collection<? extends Relation<? super A, ? super B>> rels) Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<B, A> Deprecated.useBiPredicate
insteadstatic <A,
B> BiFunction<Function<? super A, ? extends B>, Relation<? super B, ? super B>, Relation<A, A>> kernel()
Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<A, A> Deprecated.useBiPredicate
insteadstatic <A,
B, C, D> Relation<A, C> kernel
(Function<? super A, ? extends B> f, Function<? super C, ? extends D> g, Relation<? super B, ? super D> r) Deprecated.useBiPredicate
insteadstatic <A extends Comparable<? super A>>
Relation<A,A> less()
Deprecated.useBiPredicate
insteadstatic <A> Relation<A,
A> less
(Comparator<? super A> c) Deprecated.useBiPredicate
insteadstatic <A extends Comparable<? super A>>
Relation<A,A> Deprecated.useBiPredicate
insteadstatic <A> Relation<A,
A> lessOrEqual
(Comparator<? super A> c) Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<A, B> none()
Deprecated.useBiPredicate
insteadstatic <A,
B> Relation<A, B> union
(Collection<? extends Relation<? super A, ? super B>> rels) Deprecated.useBiPredicate
instead
-
Method Details
-
all
Deprecated.useBiPredicate
instead -
none
Deprecated.useBiPredicate
instead -
eq
Deprecated.useBiPredicate
instead -
equals
Deprecated.useBiPredicate
instead -
equalsOrNull
Deprecated.useBiPredicate
instead -
lessOrEqual
Deprecated.useBiPredicate
instead -
lessOrEqual
Deprecated.useBiPredicate
instead -
less
Deprecated.useBiPredicate
instead -
less
Deprecated.useBiPredicate
instead -
equal
Deprecated.useBiPredicate
instead -
greater
Deprecated.useBiPredicate
instead -
greaterOrEqual
Deprecated.useBiPredicate
instead -
greaterOrEqual
Deprecated.useBiPredicate
instead -
greater
Deprecated.useBiPredicate
instead -
equal
Deprecated.useBiPredicate
instead -
inverse
Deprecated.useBiPredicate
instead -
complement
Deprecated.useBiPredicate
instead -
kernel
@Deprecated public static <A,B, Relation<A,C, D> C> kernel(Function<? super A, ? extends B> f, Function<? super C, ? extends D> g, Relation<? super B, ? super D> r) Deprecated.useBiPredicate
instead -
kernel
@Deprecated public static <A,B> Relation<A,A> kernel(Function<? super A, ? extends B> f, Relation<? super B, ? super B> r) Deprecated.useBiPredicate
instead -
kernel
@Deprecated public static <A,B> BiFunction<Function<? super A,? extends B>, kernel()Relation<? super B, ? super B>, Relation<A, A>> Deprecated.useBiPredicate
instead -
cover
@Deprecated public static <A,B> Relation<Collection<? extends A>,Collection<? extends B>> cover(Relation<A, B> rel) Deprecated.useBiPredicate
instead -
cover
public static <A,B> BiPredicate<Collection<? extends A>,Collection<? extends B>> cover(BiPredicate<A, B> rel) -
union
@Deprecated public static <A,B> Relation<A,B> union(Collection<? extends Relation<? super A, ? super B>> rels) Deprecated.useBiPredicate
instead -
intersection
@Deprecated public static <A,B> Relation<A,B> intersection(Collection<? extends Relation<? super A, ? super B>> rels) Deprecated.useBiPredicate
instead
-
BiPredicate
instead