Module omix.api

Class FloatMap<T>

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.TreeMap<Float,​T>
omix.util.collections.FloatMap<T>
Type Parameters:
T - type of the collected objects
All Implemented Interfaces:
Serializable, Cloneable, Map<Float,​T>, NavigableMap<Float,​T>, SortedMap<Float,​T>

public class FloatMap<T>
extends TreeMap<Float,​T>
This class is a tree map associating objects to a float value.
Author:
Dr. Peter Droste, Omix Visualization
See Also:
Serialized Form
  • Constructor Details

    • FloatMap

      public FloatMap​(FloatMap<T> map)
      Copy constructor.
      Parameters:
      map -
    • FloatMap

      public FloatMap()
      Default constructor.
  • Method Details

    • getKey

      public Float getKey​(T value)
      Returns the key associated to the given value.
      Parameters:
      value -
      Returns:
      key
    • removeValue

      public boolean removeValue​(T value)
      Removes the value from the map.
      Parameters:
      value -
      Returns:
      success