Record Class SplitFilterResult
public record SplitFilterResult(DimensionFilter time, DimensionFilter elevation, List<DimensionFilter.AdditionalDimensionFilter> additional, Filter postFilter)
extends Record
Holds the recognized dimension filters and the residual post-filter.
-
Constructor Summary
ConstructorsConstructorDescriptionSplitFilterResult(DimensionFilter time, DimensionFilter elevation, List<DimensionFilter.AdditionalDimensionFilter> additional, Filter postFilter) Builds a split result with normalized default values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalrecord component.Returns the value of theelevationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepostFilterrecord component.time()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SplitFilterResult
public SplitFilterResult(DimensionFilter time, DimensionFilter elevation, List<DimensionFilter.AdditionalDimensionFilter> additional, Filter postFilter) Builds a split result with normalized default values.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
time
Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-
elevation
Returns the value of theelevationrecord component.- Returns:
- the value of the
elevationrecord component
-
additional
Returns the value of theadditionalrecord component.- Returns:
- the value of the
additionalrecord component
-
postFilter
Returns the value of thepostFilterrecord component.- Returns:
- the value of the
postFilterrecord component
-