java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
- 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
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 Details
-
RecordImpl
public RecordImpl()Constructs theRecordImpl
instance. -
RecordImpl
Constructs theRecordImpl
instance configured with the providedField
instances.- Parameters:
aFields
- TheField
instances to be contained in theRecordImpl
.
-
RecordImpl
Constructs a record with the given items.- Parameters:
aFields
- The items to be added.
-
-
Method Details