|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fusesource.common.util.Collectors<T>
public class Collectors<T>
A container for multiple Collector instances that just aggregates the collected results from all collectors
it contains
| Constructor Summary | |
|---|---|
Collectors()
|
|
Collectors(Collector<T>... collectors)
|
|
| Method Summary | |
|---|---|
void |
addCollection(java.util.Collection<T> items)
Convenience method for adding an existing collection to the collector directly |
void |
addCollector(Collector<T> collector)
|
java.util.Collection<T> |
getCollection()
Access the collection of items gathered by this collector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Collectors()
public Collectors(Collector<T>... collectors)
| Method Detail |
|---|
public void addCollector(Collector<T> collector)
public java.util.Collection<T> getCollection()
Collector
getCollection in interface Collector<T>public void addCollection(java.util.Collection<T> items)
items - the collection to be added
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||