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 TypeMethodDescriptionintend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intstart()Returns the value of thestartrecord component.final StringtoString()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
-