- 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 theRecord
.
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,T>
,Record<T>
public class RecordImpl<T> extends LinkedHashMap<String,T> implements Record<T>, Cloneable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description RecordImpl()
Constructs theRecordImpl
instance.RecordImpl(List<Field<T>> aFields)
Constructs a record with the given items.RecordImpl(Field<? extends T>... aFields)
Constructs theRecordImpl
instance configured with the providedField
instances.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Field<T>>
toFieldSet()
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Constructor Detail
-
RecordImpl
public RecordImpl()
Constructs theRecordImpl
instance.
-
RecordImpl
@SafeVarargs public RecordImpl(Field<? extends T>... aFields)
Constructs theRecordImpl
instance configured with the providedField
instances.- Parameters:
aFields
- TheField
instances to be contained in theRecordImpl
.
-
-