prefuse.util.collections
Class SortedMapFactory
java.lang.Object
prefuse.util.collections.SortedMapFactory
public class SortedMapFactory
- extends java.lang.Object
Factory class that generates the appropriate IntSortedMap implementation
given a key data type.
- Author:
- jeffrey heer
Method Summary |
static boolean |
comparatorCheck(java.lang.Class type,
java.util.Comparator cmp)
|
static IntSortedMap |
getMap(java.lang.Class type,
java.util.Comparator cmp,
boolean unique)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SortedMapFactory
public SortedMapFactory()
getMap
public static IntSortedMap getMap(java.lang.Class type,
java.util.Comparator cmp,
boolean unique)
throws IncompatibleComparatorException
- Throws:
IncompatibleComparatorException
comparatorCheck
public static boolean comparatorCheck(java.lang.Class type,
java.util.Comparator cmp)
Copyright © 2007 Regents of the University of California