edu.umd.cs.findbugs.gui
public class Grouper<ElementType> extends Object
| Nested Class Summary | |
|---|---|
| interface | Grouper.Callback<ElementType2> |
| Constructor Summary | |
|---|---|
| Grouper(Callback<ElementType> callback)
Creates a new instance of Grouper.
| |
| Method Summary | |
|---|---|
| void | group(Collection<ElementType> collection, Comparator<ElementType> comparator)
Group elements of given collection according to given
compartor's test for equality. |
Parameters: callback the callback which receives the groups and elements
Parameters: collection the collection comparator the comparator