DataType
- Data from which to build the summarySummaryType
- Output class that summarizes the datapublic interface Summarizer<DataType,SummaryType>
Summarizer
interface defines the functionality of an object that
can take a collection of some data and return a summary of that data. Note
that this interface does not require that an implementing class also
implements CloneableSerializable
, but most implementing classes
should also implement that interface.Modifier and Type | Method and Description |
---|---|
SummaryType |
summarize(java.util.Collection<? extends DataType> data)
Creates a summary of the given collection of data.
|
SummaryType summarize(java.util.Collection<? extends DataType> data)
data
- The collection of data to summarize.