Class AbstractDataTable

java.lang.Object
org.djutils.data.AbstractDataTable
All Implemented Interfaces:
Iterable<DataRecord>, org.djutils.base.Identifiable, DataTable
Direct Known Subclasses:
ListDataTable

public abstract class AbstractDataTable
extends Object
implements DataTable
Abstract Table implementation taking care of the columns.

Copyright (c) 2020-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • AbstractDataTable

      public AbstractDataTable​(String id, String description, org.djutils.immutablecollections.ImmutableList<DataColumn<?>> columns)
      Constructor for the data table using an ImmutableCollection for the columns.
      Parameters:
      id - String; id
      description - String; description
      columns - ImmutableList<Column<?>>; columns
      Throws:
      NullPointerException - when id, description or columns is null
      IllegalArgumentException - when id is empty or there are zero columns
  • Method Details