Record Class MatrixGroupsRemover.Group<T>
java.lang.Object
java.lang.Record
org.jjazz.utilities.api.MatrixGroupsRemover.Group<T>
- Type Parameters:
T- The type of the value (e.g., Character, Integer, etc.).- Record Components:
value- The shared value of all cells in the group.cells- A list of Cells in the group.
- Enclosing class:
MatrixGroupsRemover<T>
public static record MatrixGroupsRemover.Group<T>(T value, List<MatrixGroupsRemover.Cell> cells)
extends Record
Represents a group of cells with the same value.
-
Constructor Summary
ConstructorsConstructorDescriptionGroup(T value, List<MatrixGroupsRemover.Cell> cells) Creates an instance of aGrouprecord class. -
Method Summary
Modifier and TypeMethodDescriptioncells()Returns the value of thecellsrecord component.final 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
-
Method Details
-
generateHash
-
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
-
cells
-