Documentation of 'com.datumbox.framework.common.dataobjects.TransposeDataList' Java class
TransposeDataList
com.datumbox.framework.common.dataobjects

Class TransposeDataList

  • All Implemented Interfaces:
    java.io.Serializable


    public class TransposeDataList
    extends AbstractDataStructureMap<java.util.Map<java.lang.Object,FlatDataList>>
    Data structure which stores internally a Map. This data structure is usually used when we want to store the values of a particular variable separately per each category or group. The class provides a number of methods to access and modify the internal map.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      TransposeDataList()
      Default constructor which initializes the internal data with a LinkedHashMap.
      TransposeDataList(java.util.Map<java.lang.Object,FlatDataList> 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,FlatDataList>> entrySet()
      Returns the entrySet of the internal map.
      boolean equals(java.lang.Object o)
      FlatDataList get(java.lang.Object key)
      Returns the value which is associated with the provided key.
      int hashCode()
      java.util.Set<java.lang.Object> keySet()
      Returns the keySet of the internal map.
      FlatDataList put(java.lang.Object key, FlatDataList value)
      Adds a particular key-value into the internal map.
      FlatDataList 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.
      java.util.Collection<FlatDataList> values()
      Returns the values of the internal map.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransposeDataList

        public TransposeDataList()
        Default constructor which initializes the internal data with a LinkedHashMap.
      • TransposeDataList

        public TransposeDataList(java.util.Map<java.lang.Object,FlatDataList> internalData)
        Constructor that initializes the internal data with the provided map.
        Parameters:
        internalData -
    • Method Detail

      • remove

        public final FlatDataList 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 FlatDataList get(java.lang.Object key)
        Returns the value which is associated with the provided key.
        Parameters:
        key -
        Returns:
      • put

        public final FlatDataList put(java.lang.Object key,
                                      FlatDataList 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,FlatDataList>> 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<FlatDataList> values()
        Returns the values of the internal map.
        Returns:
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.