|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.component.statistics.util.ResultIHasDurationDataMatrix<T,U,V>
T - the IHasDuration implementation the
ResultIHasDurationDataMatrix aggregatesU - the IRowDataBuilderV - the underlying AbstractRowData row data
implementationpublic final class ResultIHasDurationDataMatrix<T extends IHasDuration,U extends IRowDataBuilder<T,V>,V extends AbstractRowData<T>>
A 2-dimensional matrix to further aggregate AbstractAggregations
for display purposes, e.g. for creating table-like structures.
| Constructor Summary | |
|---|---|
protected |
ResultIHasDurationDataMatrix()
Deprecated. |
|
ResultIHasDurationDataMatrix(U builder, Duration dur, Period dataResolution)
Creates a new ResultIHasDurationDataMatrix with the given
builder, duration and resolution and the default
IHasDurationComparator for row comparison. |
|
ResultIHasDurationDataMatrix(U builder, Duration dur, Period dataResolution, IHasDurationComparator rowComparator)
Creates a new ResultIHasDurationDataMatrix with the given
builder, duration and resolution and the given customised
IHasDurationComparator for row comparison. |
| Method Summary | |
|---|---|
Duration |
getDuration()
Returns the underlying "levelled" Duration. |
Period |
getResolution()
Returns the underlying resolution: Period. |
java.util.Set<ResultIHasDurationDataMatrixRow<T,U,V>> |
getRows()
Returns the data-rows of the ResultIHasDurationDataMatrix. |
void |
setData(java.util.Collection<T> data)
Sets the data for the ResultIHasDurationDataMatrix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected ResultIHasDurationDataMatrix()
public ResultIHasDurationDataMatrix(U builder, Duration dur, Period dataResolution)
ResultIHasDurationDataMatrix with the given
builder, duration and resolution and the default
IHasDurationComparator for row comparison.
builder - the IRowDataBuilderdur - the DurationdataResolution - the Periodpublic ResultIHasDurationDataMatrix(U builder, Duration dur, Period dataResolution, IHasDurationComparator rowComparator)
ResultIHasDurationDataMatrix with the given
builder, duration and resolution and the given customised
IHasDurationComparator for row comparison.
builder - the IRowDataBuilderdur - the DurationdataResolution - the PeriodrowComparator - a customised IHasDurationComparator| Method Detail |
|---|
public Duration getDuration()
Duration.
getDuration in interface IHasDurationDurationpublic Period getResolution()
Period.
Periodpublic void setData(java.util.Collection<T> data)
ResultIHasDurationDataMatrix.
NOTE: A IHasDuration from the given data
will simply be skipped if its duration isn't contained by any of the
durations' or equal to any of the durations' of the underlying rows.
data - a Collection<IHasDuration>public java.util.Set<ResultIHasDurationDataMatrixRow<T,U,V>> getRows()
ResultIHasDurationDataMatrix.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||