Class FrameMapd


  • public class FrameMapd
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameMapd​(double defaultVal)
      creates a framemap with an initial size of s

      FrameMapd​(double defaultVal, int s)
      creates a framemap with an initial size of s
      FrameMapd​(long cPtr, boolean cMemoryOwn)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clear the frame map.
      void delete()  
      void erase​(Frame frame)
      Erase an element from the map
      double get​(Frame i)  
      static long getCPtr​(FrameMapd obj)  
      boolean has​(Frame frame)
      True iff a value for frame has been inserted in the map (or
      accessed using non-const operator[]).
      void insert​(Frame frame, double value)
      inserts a value into the frame map
      void set​(Frame i, double d)  
      • Methods inherited from class java.lang.Object

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

      • FrameMapd

        public FrameMapd​(long cPtr,
                         boolean cMemoryOwn)
      • FrameMapd

        public FrameMapd​(double defaultVal,
                         int s)
        creates a framemap with an initial size of s
        Parameters:
        s - [in] nr of elements of the types T with default value "defaultVal"
        defaultVal - [in] the default value of new instances of T
      • FrameMapd

        public FrameMapd​(double defaultVal)
        creates a framemap with an initial size of s

        Parameters:
        defaultVal - [in] the default value of new instances of T
    • Method Detail

      • getCPtr

        public static long getCPtr​(FrameMapd obj)
      • delete

        public void delete()
      • insert

        public void insert​(Frame frame,
                           double value)
        inserts a value into the frame map
        Parameters:
        frame - [in] the frame for which the value is to be associated
        value - [in] the value that is to be associated to the frame
      • has

        public boolean has​(Frame frame)
        True iff a value for frame has been inserted in the map (or
        accessed using non-const operator[]).
      • get

        public double get​(Frame i)
      • set

        public void set​(Frame i,
                        double d)
      • erase

        public void erase​(Frame frame)
        Erase an element from the map
      • clear

        public void clear()
        Clear the frame map.