Interface RolapResult.CellInfoContainer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clear()
      Removes all CellInfo objects from container.
      RolapResult.CellInfo create​(int[] pos)
      Creates a new CellInfo object, adds it to the container a location pos and returns it.
      RolapResult.CellInfo lookup​(int[] pos)
      Gets the CellInfo object at the location pos.
      int size()
      Returns the number of CellInfo objects in this container.
      void trimToSize()
      Reduces the size of the internal data structures needed to support the current entries.
    • Method Detail

      • size

        int size()
        Returns the number of CellInfo objects in this container.
        Returns:
        the number of CellInfo objects.
      • trimToSize

        void trimToSize()
        Reduces the size of the internal data structures needed to support the current entries. This should be called after all CellInfo objects have been added to container.
      • clear

        void clear()
        Removes all CellInfo objects from container. Does not change the size of the internal data structures.
      • create

        RolapResult.CellInfo create​(int[] pos)
        Creates a new CellInfo object, adds it to the container a location pos and returns it.
        Parameters:
        pos - where to store CellInfo object.
        Returns:
        the newly create CellInfo object.
      • lookup

        RolapResult.CellInfo lookup​(int[] pos)
        Gets the CellInfo object at the location pos.
        Parameters:
        pos - where to find the CellInfo object.
        Returns:
        the CellInfo found or null.