| Modifier and Type | Field and Description |
|---|---|
| private Quantity | |
| private long | |
| private final Quantity | |
| private Quantity | |
| private final BinaryOperator | |
| private Quantity | |
| private final BinaryOperator | |
| private Quantity |
| Access | Constructor and Description |
|---|---|
| pack-priv | QuantitySummaryStatistics(Unit<Q>
the target unit, not null. unit)Creates a new instance, targeting the given |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public QuantitySummaryStatistics | combine(QuantitySummaryStatistics<Q>
another quantitySummary)QuantitySummaryStatistics, not null.Combines the state of another |
| private void | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. will equals when the unit were equals |
| public Quantity | |
| public Quantity | Returns: the average quantity converted to this unitto convert unit)Get the quantity average of all amounts added converted to unit |
| public long | Returns: the number of summarized items, >= 0.Get the number of items added to this summary instance. |
| public Quantity | |
| public Quantity | |
| public Quantity | |
| public Quantity | |
| public Quantity | |
| public Quantity | |
| public int | |
| private boolean | |
| private void | |
| public QuantitySummaryStatistics | |
| public String |
| average | back to summary |
|---|---|
| private Quantity<Q> average | |
| count | back to summary |
|---|---|
| private long count | |
| empty | back to summary |
|---|---|
| private final Quantity<Q> empty | |
| max | back to summary |
|---|---|
| private Quantity<Q> max | |
| maxFunctions | back to summary |
|---|---|
| private final BinaryOperator<Quantity<Q>> maxFunctions | |
| min | back to summary |
|---|---|
| private Quantity<Q> min | |
| minFunctions | back to summary |
|---|---|
| private final BinaryOperator<Quantity<Q>> minFunctions | |
| sum | back to summary |
|---|---|
| private Quantity<Q> sum | |
| QuantitySummaryStatistics | back to summary |
|---|---|
| pack-priv QuantitySummaryStatistics(Unit<Q> unit) Creates a new instance, targeting the given
| |
| accept | back to summary |
|---|---|
| public void accept(Quantity<Q> quantity) Records another value into the summary information.
| |
| combine | back to summary |
|---|---|
| public QuantitySummaryStatistics Combines the state of another
| |
| doSummary | back to summary |
|---|---|
| private void doSummary(Quantity<Q> moneraty) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. will equals when the unit were equals
| |
| getAverage | back to summary |
|---|---|
| public Quantity Get the quantity average of all amounts added.
| |
| getAverage | back to summary |
|---|---|
| public Quantity Get the quantity average of all amounts added converted to unit | |
| getCount | back to summary |
|---|---|
| public long getCount() Get the number of items added to this summary instance.
| |
| getMax | back to summary |
|---|---|
| public Quantity Get the maximal amount found within this summary.
| |
| getMax | back to summary |
|---|---|
| public Quantity Get the maximal amount found within this summary converted to unit | |
| getMin | back to summary |
|---|---|
| public Quantity Get the minimal quantity found within this summary.
| |
| getMin | back to summary |
|---|---|
| public Quantity Get the minimal quantity found within this summary converted to unit | |
| getSum | back to summary |
|---|---|
| public Quantity Get the sum of all amounts within this summary.
| |
| getSum | back to summary |
|---|---|
| public Quantity Get the sum of all amounts within this summary converted to unit | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isEmpty | back to summary |
|---|---|
| private boolean isEmpty() | |
| setQuantity | back to summary |
|---|---|
| private void setQuantity(Quantity<Q> quantity) | |
| to | back to summary |
|---|---|
| public QuantitySummaryStatistics convert the summary to this unit measure
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |