|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jagg.msd.AbstractDiscriminator<java.lang.Boolean>
net.sf.jagg.msd.BooleanDiscriminator
public class BooleanDiscriminator
A BooleanDiscriminator
discriminates Lists
of
Booleans
.
Constructor Summary | |
---|---|
BooleanDiscriminator()
|
Method Summary | ||
---|---|---|
|
discriminate(java.util.List<E> elements,
Extractor<E,java.lang.Boolean> extractor,
MsdWorkspace workspace)
Partitions the given List of values into another
List , in which all of the values from the given list exist
in the new list, and all values that compare equal are adjacent to each
other, according to the given Extractor . |
Methods inherited from class net.sf.jagg.msd.AbstractDiscriminator |
---|
discriminate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BooleanDiscriminator()
Method Detail |
---|
public <E> java.util.List<java.util.List<E>> discriminate(java.util.List<E> elements, Extractor<E,java.lang.Boolean> extractor, MsdWorkspace workspace)
List
of values into another
List
, in which all of the values from the given list exist
in the new list, and all values that compare equal are adjacent to each
other, according to the given Extractor
.
E
- The type of element that is being discriminated by the type
<E>elements
- A List
of elements.extractor
- An Extractor
that gives labels for
each element.workspace
- The MsdWorkspace
used in the discrimination process.
List
of Lists
containing all
equivalence classes. Each equivalence class list contains all values
that compare equal to each other.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |