|
jjdh API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdh.java.math.algebra.structure.relation.Relations
public class Relations
Field Summary | |
---|---|
private static EquivalenceRelation |
EQUAL_CLASS
The equivalence relation 'equal class' (immutable). |
private static EquivalenceRelation |
EQUAL_HASH_CODE
The equivalence relation 'equal hash code' (immutable). |
private static EquivalenceRelation |
EQUALITY
The equivalence relation 'equality' (immutable). |
Constructor Summary | |
---|---|
private |
Relations()
|
Method Summary | ||
---|---|---|
static
|
and(Collection<Relation<? super S>> relations)
|
|
static
|
and(Relation<? super S>... relations)
|
|
private static
|
binary(Collection<Relation<? super S>> relations,
boolean related)
|
|
static
|
equalClass()
Returns the equivalence relation 'equal class'. |
|
static
|
equalHashCode()
Returns the equivalence relation 'equal hash code'. |
|
static
|
equality()
Returns the equivalence relation 'equality'. |
|
static
|
getPartition(Collection<? extends E> collection,
Comparator<? super E> comparator,
boolean implicitGrow)
|
|
static
|
getPartition(Collection<E> collection,
Comparator<? super E> comparator)
|
|
static
|
getPartition(Collection<E> collection,
EquivalenceRelation<? super E> relation)
|
|
static
|
getPartition(Collection<E> collection,
EquivalenceRelation<? super E> relation,
boolean implicitGrow)
|
|
static
|
getPartition(Comparator<? super E> comparator)
|
|
static
|
getPartition(Comparator<? super E> comparator,
boolean implicitGrow)
|
|
static
|
getPartition(EquivalenceRelation<? super E> relation)
|
|
static
|
getPartition(EquivalenceRelation<? super E> relation,
boolean implicitGrow)
|
|
static
|
not(Relation<? super S> relation)
|
|
static
|
or(Collection<Relation<? super S>> relations)
|
|
static
|
or(Relation<? super S>... relations)
|
|
static
|
wrap(Comparator<? super S> comparator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final EquivalenceRelation EQUALITY
Object.equals(java.lang.Object)
,
equality()
private static final EquivalenceRelation EQUAL_HASH_CODE
Object.hashCode()
,
equalHashCode()
private static final EquivalenceRelation EQUAL_CLASS
Object.getClass()
,
Object.equals(java.lang.Object)
,
equalClass()
Constructor Detail |
---|
private Relations()
Method Detail |
---|
public static final <S> EquivalenceRelation<S> equality()
EquivalenceRelation
object for each call.
EQUALITY
public static final <S> EquivalenceRelation<S> equalHashCode()
EquivalenceRelation
object for each call.
EQUAL_HASH_CODE
public static final <S> EquivalenceRelation<S> equalClass()
EquivalenceRelation
object for each call.
EQUAL_CLASS
public static <S> EquivalenceRelation<S> wrap(Comparator<? super S> comparator)
public static <S> Relation<S> not(Relation<? super S> relation)
public static <S> Relation<S> and(Relation<? super S>... relations)
public static <S> Relation<S> and(Collection<Relation<? super S>> relations)
public static <S> Relation<S> or(Relation<? super S>... relations)
public static <S> Relation<S> or(Collection<Relation<? super S>> relations)
private static <S> Relation<S> binary(Collection<Relation<? super S>> relations, boolean related)
public static <E> GrowingPartition<E> getPartition(Comparator<? super E> comparator, boolean implicitGrow)
public static <E> GrowingPartition<E> getPartition(Collection<? extends E> collection, Comparator<? super E> comparator, boolean implicitGrow)
public static <E> GrowingPartition<E> getPartition(Comparator<? super E> comparator)
public static <E> GrowingPartition<E> getPartition(Collection<E> collection, Comparator<? super E> comparator)
public static <E> GrowingPartition<E> getPartition(EquivalenceRelation<? super E> relation, boolean implicitGrow)
public static <E> GrowingPartition<E> getPartition(Collection<E> collection, EquivalenceRelation<? super E> relation, boolean implicitGrow)
public static <E> GrowingPartition<E> getPartition(EquivalenceRelation<? super E> relation)
public static <E> GrowingPartition<E> getPartition(Collection<E> collection, EquivalenceRelation<? super E> relation)
|
jjdh API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |