SRCTYPE - Source typeDSTTYPE - Destination type@Immutable public final class AggregatorConstant<SRCTYPE,DSTTYPE> extends AbstractAggregator<SRCTYPE,DSTTYPE>
null.| Constructor and Description |
|---|
AggregatorConstant(DSTTYPE aValue) |
| Modifier and Type | Method and Description |
|---|---|
DSTTYPE |
aggregate(Collection<SRCTYPE> aResults)
Aggregate a collection of input objects to a single output object.
|
boolean |
equals(Object o) |
DSTTYPE |
getConstantValue() |
int |
hashCode() |
String |
toString() |
aggregate@Nullable public DSTTYPE aggregate(@Nullable Collection<SRCTYPE> aResults)
IAggregatoraResults - Source objects. May not be null.null.public boolean equals(Object o)
equals in class AbstractAggregator<SRCTYPE,DSTTYPE>public int hashCode()
hashCode in class AbstractAggregator<SRCTYPE,DSTTYPE>public String toString()
toString in class AbstractAggregator<SRCTYPE,DSTTYPE>Copyright © 2014–2015 Philip Helger. All rights reserved.