com.datumbox.framework.common.dataobjects
Class DataTable2D
- java.lang.Object
-
- com.datumbox.framework.common.dataobjects.AbstractDataStructure<T>
-
- com.datumbox.framework.common.dataobjects.AbstractDataStructureMap<java.util.Map<java.lang.Object,AssociativeArray>>
-
- com.datumbox.framework.common.dataobjects.AssociativeArray2D
-
- com.datumbox.framework.common.dataobjects.DataTable2D
-
- All Implemented Interfaces:
- Copyable<AssociativeArray2D>, java.io.Serializable
public class DataTable2D extends AssociativeArray2D
Data structure which extends the AssociativeArray2D. The only difference of this class with AssociativeArray2D is that all the cells within the internal map should be set. In other words the internal map should have a rectangular format. The class provides a number of methods to access and modify the internal map.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description DataTable2D()Default constructor.DataTable2D(java.util.Map<java.lang.Object,AssociativeArray> 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 DataTable2Dcopy()Copies itself and returns a new instance of the same type.booleanequals(java.lang.Object o)inthashCode()booleanisValid()Returns if the DataTable2D is valid.-
Methods inherited from class com.datumbox.framework.common.dataobjects.AssociativeArray2D
entrySet, get, get2d, keySet, put, put2d, remove, values
-
Methods inherited from class com.datumbox.framework.common.dataobjects.AbstractDataStructureMap
clear, containsKey, isEmpty, size
-
-
-
-
Constructor Detail
-
DataTable2D
public DataTable2D()
Default constructor.
-
DataTable2D
public DataTable2D(java.util.Map<java.lang.Object,AssociativeArray> internalData)
Constructor that initializes the internal data with the provided map.- Parameters:
internalData-
-
-
Method Detail
-
isValid
public boolean isValid()
Returns if the DataTable2D is valid. This data structure is considered valid it all the DataTable cells are set and as a result the DataTable has a rectangular format.- Returns:
-
copy
public DataTable2D copy()
Copies itself and returns a new instance of the same type.- Specified by:
copyin interfaceCopyable<AssociativeArray2D>- Overrides:
copyin classAssociativeArray2D- Returns:
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAssociativeArray2D
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAssociativeArray2D
-
-
DataMelt 3.0 © DataMelt by jWork.ORG