prefuse.util.collections
Class SortedMapFactory

java.lang.Object
  extended by 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

Constructor Summary
SortedMapFactory()
           
 
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
 

Constructor Detail

SortedMapFactory

public SortedMapFactory()
Method Detail

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