public abstract class Relations extends Object
Modifier and Type | Method and Description |
---|---|
static <A,B> Relation<A,B> |
all() |
static <A,B> Relation<A,B> |
complement(Relation<? super A,? super B> r) |
static <A,B> Relation<Collection<? extends A>,Collection<? extends B>> |
cover(Relation<A,B> rel) |
static <A,B> Relation<A,B> |
eq() |
static <A extends Comparable<? super A>> |
equal() |
static <A> Relation<A,A> |
equal(Comparator<? super A> order) |
static <A,B> Relation<A,B> |
equals() |
static <A,B> Relation<A,B> |
equalsOrNull() |
static <A extends Comparable<? super A>> |
greater() |
static <A> Relation<A,A> |
greater(Comparator<? super A> order) |
static <A extends Comparable<? super A>> |
greaterOrEqual() |
static <A> Relation<A,A> |
greaterOrEqual(Comparator<? super A> order) |
static <A,B> Relation<A,B> |
intersection(Collection<? extends Relation<? super A,? super B>> rels) |
static <A,B> Relation<B,A> |
inverse(Relation<? super A,? super B> r) |
static <A,B> BiFunction<Function<? super A,? extends B>,Relation<? super B,? super B>,Relation<A,A>> |
kernel() |
static <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) |
static <A,B> Relation<A,A> |
kernel(Function<? super A,? extends B> f,
Relation<? super B,? super B> r) |
static <A extends Comparable<? super A>> |
less() |
static <A> Relation<A,A> |
less(Comparator<? super A> c) |
static <A extends Comparable<? super A>> |
lessOrEqual() |
static <A> Relation<A,A> |
lessOrEqual(Comparator<? super A> c) |
static <A,B> Relation<A,B> |
none() |
static <A,B> Relation<A,B> |
union(Collection<? extends Relation<? super A,? super B>> rels) |
public static <A,B> Relation<A,B> all()
public static <A,B> Relation<A,B> none()
public static <A,B> Relation<A,B> eq()
public static <A,B> Relation<A,B> equals()
public static <A,B> Relation<A,B> equalsOrNull()
public static <A> Relation<A,A> lessOrEqual(Comparator<? super A> c)
public static <A extends Comparable<? super A>> Relation<A,A> lessOrEqual()
public static <A> Relation<A,A> less(Comparator<? super A> c)
public static <A extends Comparable<? super A>> Relation<A,A> less()
public static <A extends Comparable<? super A>> Relation<A,A> equal()
public static <A extends Comparable<? super A>> Relation<A,A> greater()
public static <A extends Comparable<? super A>> Relation<A,A> greaterOrEqual()
public static <A> Relation<A,A> greaterOrEqual(Comparator<? super A> order)
public static <A> Relation<A,A> greater(Comparator<? super A> order)
public static <A> Relation<A,A> equal(Comparator<? super A> order)
public static <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)
public static <A,B> Relation<A,A> kernel(Function<? super A,? extends B> f, Relation<? super B,? super B> r)
public static <A,B> BiFunction<Function<? super A,? extends B>,Relation<? super B,? super B>,Relation<A,A>> kernel()
public static <A,B> Relation<Collection<? extends A>,Collection<? extends B>> cover(Relation<A,B> rel)
public static <A,B> Relation<A,B> union(Collection<? extends Relation<? super A,? super B>> rels)
public static <A,B> Relation<A,B> intersection(Collection<? extends Relation<? super A,? super B>> rels)
see also the complete user documentation .