Record Class SyWindowLayerID
java.lang.Object
java.lang.Record
com.io7m.jsycamore.api.windows.SyWindowLayerID
- Record Components:
value- The value
- All Implemented Interfaces:
Comparable<SyWindowLayerID>
public record SyWindowLayerID(BigInteger value)
extends Record
implements Comparable<SyWindowLayerID>
An identifier for a window layer.
-
Constructor Summary
ConstructorsConstructorDescriptionSyWindowLayerID(BigInteger value) Creates an instance of aSyWindowLayerIDrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SyWindowLayerID other) static SyWindowLayerIDfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
SyWindowLayerID
Creates an instance of aSyWindowLayerIDrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<SyWindowLayerID>
-
nextHigher
- Returns:
- The next layer ID
-
nextLower
- Returns:
- The next layer ID
-
defaultLayer
- Returns:
- The default layer ID
-
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 withObjects::equals(Object,Object). -
value
-