Interface Columns<T>

  • Type Parameters:
    T - The type managed by the Columns.
    All Superinterfaces:
    org.refcodes.structure.Clearable, Collection<T>, ColumnRow<T,Column<? extends T>>, Iterable<T>, org.refcodes.structure.Keys<T,C>, org.refcodes.structure.Keys.MutableKeys<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.

    • Method Detail

      • withColumns

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