Package org.refcodes.tabular
Interface FormattedColumns<T>
-
- Type Parameters:
T
- The type managed by theFormattedColumns
.
- All Superinterfaces:
org.refcodes.structure.Clearable
,java.util.Collection<T>
,ColumnRow<T,FormattedColumn<? extends T>>
,java.lang.Iterable<T>
,org.refcodes.structure.Keys<T,C>
,org.refcodes.structure.Keys.MutableKeys<java.lang.String,C>
public interface FormattedColumns<T> extends ColumnRow<T,FormattedColumn<? extends T>>
In case no order of theFormattedColumn
instances is explicitly required (similar to a DB table or a spread sheet, in contrast to a CSV file) thenFormattedColumn
instances are grouped by aFormattedColumns
set.FormattedColumns
provide additional semantics to theField
instances stored in aRecord
.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FormattedColumns<T>
withColumns(FormattedColumn<? extends T>... aColumns)
With columns.-
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
-
Methods inherited from interface org.refcodes.tabular.ColumnRow
containsValue
-
-
-
-
Method Detail
-
withColumns
default FormattedColumns<T> withColumns(FormattedColumn<? extends T>... aColumns)
With columns.- Specified by:
withColumns
in interfaceColumnRow<T,FormattedColumn<? extends T>>
- Parameters:
aColumns
- the columns- Returns:
- the formatted columns
-
-