Record Class ChunkingData
java.lang.Object
java.lang.Record
other.ChunkingData
-
Constructor Summary
ConstructorsConstructorDescriptionChunkingData(int min, int normal, int max) Creates an instance of aChunkingDatarecord 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.intmax()Returns the value of themaxrecord component.intmin()Returns the value of theminrecord component.intnormal()Returns the value of thenormalrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ChunkingData
public ChunkingData(int min, int normal, int max) Creates an instance of aChunkingDatarecord class.- Parameters:
min- the value for theminrecord componentnormal- the value for thenormalrecord componentmax- the value for themaxrecord component
-
ChunkingData
public ChunkingData()
-
-
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. -
min
public int min()Returns the value of theminrecord component.- Returns:
- the value of the
minrecord component
-
normal
public int normal()Returns the value of thenormalrecord component.- Returns:
- the value of the
normalrecord component
-
max
public int max()Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-