Record Class DimensionFilter.AdditionalDimensionFilter
- Enclosing interface:
- DimensionFilter
public static record DimensionFilter.AdditionalDimensionFilter(int dimensionIndex, DimensionFilter filter)
extends Record
Associates a filter with a specific additional logical dimension.
-
Constructor Summary
ConstructorsConstructorDescriptionAdditionalDimensionFilter(int dimensionIndex, DimensionFilter filter) Creates an instance of aAdditionalDimensionFilterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thedimensionIndexrecord component.final booleanIndicates whether some other object is "equal to" this one.filter()Returns the value of thefilterrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AdditionalDimensionFilter
Creates an instance of aAdditionalDimensionFilterrecord class.- Parameters:
dimensionIndex- the value for thedimensionIndexrecord componentfilter- the value for thefilterrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
dimensionIndex
public int dimensionIndex()Returns the value of thedimensionIndexrecord component.- Returns:
- the value of the
dimensionIndexrecord component
-
filter
Returns the value of thefilterrecord component.- Returns:
- the value of the
filterrecord component
-