java.lang.Object
java.lang.Record
atlantafx.base.util.Range
- Record Components:
start
- the starting value of the range (inclusive)end
- the ending value of the range (inclusive or exclusive)
Represents a range with a specified start and end value.
The range is inclusive of the start value, while the end value can be
either inclusive or exclusive, depending on the user's preference.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
end()
Returns the value of theend
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
start()
Returns the value of thestart
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Range
-
-
Method Details
-
toString
-
hashCode
-
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 with '=='. -
start
-
end
-