Record Class ErosionObjSprites.Entry
java.lang.Object
java.lang.Record
zombie.erosion.obj.ErosionObjSprites.Entry
- Enclosing class:
ErosionObjSprites
-
Constructor Summary
ConstructorsConstructorDescriptionEntry
(int stage, int section, int season) Creates an instance of aEntry
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
season()
Returns the value of theseason
record component.int
section()
Returns the value of thesection
record component.int
stage()
Returns the value of thestage
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Entry
public Entry(int stage, int section, int season) Creates an instance of aEntry
record class.- Parameters:
stage
- the value for thestage
record componentsection
- the value for thesection
record componentseason
- the value for theseason
record component
-
-
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 thecompare
method from their corresponding wrapper classes. -
stage
public int stage()Returns the value of thestage
record component.- Returns:
- the value of the
stage
record component
-
section
public int section()Returns the value of thesection
record component.- Returns:
- the value of the
section
record component
-
season
public int season()Returns the value of theseason
record component.- Returns:
- the value of the
season
record component
-