java.lang.Object
java.lang.Record
io.jenetics.ext.util.CsvSupport.ColumnIndexes
- Record Components:
values
- the column indexes which are part of the split result
- Enclosing class:
CsvSupport
Holds the column indexes, which should be part of the split or join
operation. When used in the
CsvSupport.LineSplitter
, it lets you filter the
split column and define its order. When used in the CsvSupport.ColumnJoiner
,
it can be used to define the column index in the resulting CSV for a
given row array.- Since:
- 8.1
- Version:
- 8.1
- See Also:
- API Note:
- The column indexes is thread-safe and can be shared between different threads.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CsvSupport.ColumnIndexes
Indicating that all columns should be part of the split result. -
Constructor Summary
-
Method Summary
-
Field Details
-
ALL
Indicating that all columns should be part of the split result.
-
-
Constructor Details
-
ColumnIndexes
Create a new column indexes object.- Parameters:
values
- the column indexes
-
-
Method Details
-
values
Returns the value of thevalues
record component.- Returns:
- the value of the
values
record component
-
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
-