Record Class NativeContainerAutoPlacement.Binding
java.lang.Object
java.lang.Record
net.raphimc.viabedrock.api.model.container.NativeContainerAutoPlacement.Binding
- Enclosing class:
NativeContainerAutoPlacement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal booleanIndicates whether some other object is "equal to" this one.longReturns the value of thegenerationrecord component.final inthashCode()Returns a hash code value for this object.menu()Returns the value of themenurecord component.longReturns the value of thepresentationSequencerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Binding
Creates an instance of aBindingrecord class.- Parameters:
menu- the value for themenurecord componentgeneration- the value for thegenerationrecord componentpresentationSequence- the value for thepresentationSequencerecord component
-
-
Method Details
-
current
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
generation
public long generation()Returns the value of thegenerationrecord component.- Returns:
- the value of the
generationrecord component
-
presentationSequence
public long presentationSequence()Returns the value of thepresentationSequencerecord component.- Returns:
- the value of the
presentationSequencerecord component
-