Package com.luciad.multidimensional
Class TLcdDimension<T>
java.lang.Object
com.luciad.multidimensional.TLcdDimension<T>
- All Implemented Interfaces:
ILcdDimension<T>
Default implementation of ILcdDimension
. This class can be created using
the builder pattern. See newBuilder()
and TLcdDimension.Builder
.
- Since:
- 2015.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder for dimension axis values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the givenTLcdDimensionAxis
as a builder.boolean
getAxis()
Returns the axis in which the possible values are defined.Returns the union of the ranges in which data can be available.Returns the intervals in which data can be available for this axis.int
hashCode()
static <T> TLcdDimension.Builder
<T> Returns a new builder using which aTLcdDimension
can be constructed.toString()
-
Method Details
-
getAxis
Description copied from interface:ILcdDimension
Returns the axis in which the possible values are defined.- Specified by:
getAxis
in interfaceILcdDimension<T>
- Returns:
- the axis in which the possible values are defined.
-
getUnionOfValues
Description copied from interface:ILcdDimension
Returns the union of the ranges in which data can be available. The returned object is a union of the intervals returned bygetValues
.- Specified by:
getUnionOfValues
in interfaceILcdDimension<T>
- Returns:
- the union of the values of this axis in which data can be available, possibly empty or the unbounded
interval but never
null
.
-
getValues
Description copied from interface:ILcdDimension
Returns the intervals in which data can be available for this axis. The list of intervals is finite, is sorted, and contains no duplicates according toTLcdDimensionInterval.equals()
. The list may contain overlapping intervals though. Models offering logically infinite intervals such as "every week day on Monday" will have to limit the intervals they offer to a practical finite collection.- Specified by:
getValues
in interfaceILcdDimension<T>
- Returns:
- the intervals in which data can be available for this axis, possibly empty but never
null
.
-
newBuilder
Returns a new builder using which aTLcdDimension
can be constructed.- Returns:
- a new dimension axis values builder.
-
asBuilder
Returns the givenTLcdDimensionAxis
as a builder. This builder instance can be modify and used to create a newTLcdDimensionAxis
.- Returns:
- the given
TLcdDimensionAxis
as a builder.
-
equals
-
hashCode
public int hashCode() -
toString
-