|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.gui.Grouper<ElementType>
public class Grouper<ElementType>
Given a sorted Collection and a Comparator, produces groups of objects that compare as equal. If the Collection is not sorted, this class will not work correctly.
Nested Class Summary | |
---|---|
static interface |
Grouper.Callback<ElementType2>
|
Constructor Summary | |
---|---|
Grouper(Grouper.Callback<ElementType> callback)
Creates a new instance of Grouper. |
Method Summary | |
---|---|
void |
group(java.util.Collection<ElementType> collection,
java.util.Comparator<ElementType> comparator)
Group elements of given collection according to given compartor's test for equality. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Grouper(Grouper.Callback<ElementType> callback)
callback
- the callback which receives the groups and elementsMethod Detail |
---|
public void group(java.util.Collection<ElementType> collection, java.util.Comparator<ElementType> comparator)
collection
- the collectioncomparator
- the comparator
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |