Interface Columns<T>

  • Type Parameters:
    T - The type managed by the Columns.
    All Superinterfaces:
    org.refcodes.structure.Clearable, java.util.Collection<T>, ColumnRow<T,Column<? extends T>>, java.lang.Iterable<T>, org.refcodes.structure.Keys<T,C>, org.refcodes.structure.Keys.MutableKeys<java.lang.String,C>

    public interface Columns<T>
    extends ColumnRow<T,Column<? extends T>>
    In case no order of the Column instances is explicitly required (similar to a DB table or a spread sheet, in contrast to a CSV file) then Column instances are grouped by a Columns set.

    Columns provide additional semantics to the Field instances stored in a Record.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.structure.Keys

        org.refcodes.structure.Keys.MutableKeys<K extends java.lang.Object,V extends java.lang.Object>, org.refcodes.structure.Keys.MutableValues<K extends java.lang.Object,V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default Columns<T> withColumns​(Column<? extends T>... aColumns)
      With columns.
      • Methods inherited from interface org.refcodes.structure.Clearable

      • 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 java.lang.Iterable

      • Methods inherited from interface org.refcodes.structure.Keys

        containsKey, get, getOr, keySet, use, values
      • Methods inherited from interface org.refcodes.structure.Keys.MutableKeys

    • Method Detail

      • withColumns

        default Columns<T> withColumns​(Column<? extends T>... aColumns)
        With columns.
        Specified by:
        withColumns in interface ColumnRow<T,Column<? extends T>>
        aColumns - the columns
        the columns