com.datumbox.framework.common.dataobjects
Class TransposeDataCollection2D
- java.lang.Object
-
- com.datumbox.framework.common.dataobjects.AbstractDataStructure<T>
-
- com.datumbox.framework.common.dataobjects.AbstractDataStructureMap<java.util.Map<java.lang.Object,TransposeDataCollection>>
-
- com.datumbox.framework.common.dataobjects.TransposeDataCollection2D
-
- All Implemented Interfaces:
- java.io.Serializable
public class TransposeDataCollection2D extends AbstractDataStructureMap<java.util.Map<java.lang.Object,TransposeDataCollection>>
Data structure which stores internally a Map- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TransposeDataCollection2D()Default constructor which initializes the internal data with a LinkedHashMap.TransposeDataCollection2D(java.util.Map<java.lang.Object,TransposeDataCollection> internalData)Constructor that initializes the internal data with the provided map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.Set<java.util.Map.Entry<java.lang.Object,TransposeDataCollection>>entrySet()Returns the entrySet of the internal map.booleanequals(java.lang.Object o)TransposeDataCollectionget(java.lang.Object key)Returns the value which is associated with the provided key.inthashCode()java.util.Set<java.lang.Object>keySet()Returns the keySet of the internal map.TransposeDataCollectionput(java.lang.Object key, TransposeDataCollection value)Adds a particular key-value into the internal map.TransposeDataCollectionremove(java.lang.Object key)Removes a particular key from the internal map and returns the value associated with that key if present in the map.java.util.Collection<TransposeDataCollection>values()Returns the values of the internal map.-
Methods inherited from class com.datumbox.framework.common.dataobjects.AbstractDataStructureMap
clear, containsKey, isEmpty, size
-
-
-
-
Constructor Detail
-
TransposeDataCollection2D
public TransposeDataCollection2D()
Default constructor which initializes the internal data with a LinkedHashMap.
-
TransposeDataCollection2D
public TransposeDataCollection2D(java.util.Map<java.lang.Object,TransposeDataCollection> internalData)
Constructor that initializes the internal data with the provided map.- Parameters:
internalData-
-
-
Method Detail
-
remove
public final TransposeDataCollection remove(java.lang.Object key)
Removes a particular key from the internal map and returns the value associated with that key if present in the map.- Parameters:
key-- Returns:
-
get
public final TransposeDataCollection get(java.lang.Object key)
Returns the value which is associated with the provided key.- Parameters:
key-- Returns:
-
put
public final TransposeDataCollection put(java.lang.Object key, TransposeDataCollection value)
Adds a particular key-value into the internal map. It returns the previous value which was associated with that key.- Parameters:
key-value-- Returns:
-
entrySet
public final java.util.Set<java.util.Map.Entry<java.lang.Object,TransposeDataCollection>> entrySet()
Returns the entrySet of the internal map.- Returns:
-
keySet
public final java.util.Set<java.lang.Object> keySet()
Returns the keySet of the internal map.- Returns:
-
values
public final java.util.Collection<TransposeDataCollection> values()
Returns the values of the internal map.- Returns:
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG