Class FinalMap<T1 extends java.lang.Comparable,T2>

  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<T1,T2>
          extended by javatools.datatypes.FinalMap<T1,T2>
All Implemented Interfaces:, java.lang.Cloneable, java.util.Map<T1,T2>, java.util.NavigableMap<T1,T2>, java.util.SortedMap<T1,T2>

public class FinalMap<T1 extends java.lang.Comparable,T2>
extends java.util.TreeMap<T1,T2>

This class is part of the Java Tools (see It is licensed under the Creative Commons Attribution License (see by the YAGO-NAGA team (see Provides a nicer constructor for a TreeMap. Example:

   FinalMap f=new FinalMap(
   --> 2

See Also:
Serialized Form

Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
Constructor Summary
FinalMap(java.lang.Object... a)
          Constructs a FinalMap from an array that contains key/value sequences
Method Summary
static void main(java.lang.String[] args)
          Test routine
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty

Constructor Detail


public FinalMap(java.lang.Object... a)
Constructs a FinalMap from an array that contains key/value sequences

Method Detail


public static void main(java.lang.String[] args)
Test routine