E - The type of elements in the equivalence relation.public class DomainEquivalenceRelation<E> extends AbstractEquivalenceRelation<E>
EquivalenceRelation this allows equivalence classes with only a single entry to be preserved.leaderToClass| Constructor and Description |
|---|
DomainEquivalenceRelation(java.util.Collection<E> domain)
Create a new instance of this class for the given domain.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkValidElement(E e)
Extension point to restrict the valid entries of the equivalence class.
|
java.util.Iterator<java.util.Set<E>> |
iterator() |
DomainEquivalenceRelation<E> |
refine(IEquivalenceRelation<? super E> relation)
Refine this equivalence relation via another relation.
|
equals, getClass, hashCode, isEquivalent, joinClasses, refine, sizeadd, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic DomainEquivalenceRelation(java.util.Collection<E> domain)
protected void checkValidElement(E e)
AbstractEquivalenceRelationcheckValidElement in class AbstractEquivalenceRelation<E>public DomainEquivalenceRelation<E> refine(IEquivalenceRelation<? super E> relation)
AbstractEquivalenceRelationrefine in class AbstractEquivalenceRelation<E>relation - The relation to use for refinement.