Class RecordImpl<T>

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap<K,​V>
java.util.LinkedHashMap<String,​T>
org.refcodes.tabular.RecordImpl<T>
Type Parameters:
T - The type managed by the Record.
All Implemented Interfaces:
Serializable, Cloneable, Map<String,​T>, Record<T>

public class RecordImpl<T>
extends LinkedHashMap<String,​T>
implements Record<T>, Cloneable
Implementation of the Record interface being Cloneable.
See Also:
Serialized Form
  • Constructor Details

    • RecordImpl

      public RecordImpl()
      Constructs the RecordImpl instance.
    • RecordImpl

      @SafeVarargs public RecordImpl​(Field<? extends T>... aFields)
      Constructs the RecordImpl instance configured with the provided Field instances.
      Parameters:
      aFields - The Field instances to be contained in the RecordImpl.
    • RecordImpl

      public RecordImpl​(List<Field<T>> aFields)
      Constructs a record with the given items.
      Parameters:
      aFields - The items to be added.
  • Method Details