Module omix.api

Class DoubleMap<T>

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

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

  • Method Details

    • getKey

      public Double 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