Record Class EdiWritingLevels.LevelStatus
java.lang.Object
java.lang.Record
hdi.edi.ediwriter.EdiWritingLevels.LevelStatus
- Enclosing class:
hdi.edi.ediwriter.EdiWritingLevels
public static record EdiWritingLevels.LevelStatus(boolean isNewLevel, int levelHlCount)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLevelStatus(boolean isNewLevel, int levelHlCount) Creates an instance of aLevelStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisNewLevelrecord component.intReturns the value of thelevelHlCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LevelStatus
public LevelStatus(boolean isNewLevel, int levelHlCount) Creates an instance of aLevelStatusrecord class.- Parameters:
isNewLevel- the value for theisNewLevelrecord componentlevelHlCount- the value for thelevelHlCountrecord 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 thecomparemethod from their corresponding wrapper classes. -
isNewLevel
public boolean isNewLevel()Returns the value of theisNewLevelrecord component.- Returns:
- the value of the
isNewLevelrecord component
-
levelHlCount
public int levelHlCount()Returns the value of thelevelHlCountrecord component.- Returns:
- the value of the
levelHlCountrecord component
-