com.oktiva.util
Class HashtableComparator

java.lang.Object
  extended bycom.oktiva.util.HashtableComparator
All Implemented Interfaces:
java.util.Comparator

public class HashtableComparator
extends java.lang.Object
implements java.util.Comparator


Constructor Summary
HashtableComparator(java.lang.String key)
          Creates a new instance of HashtableComparator
HashtableComparator(java.lang.String key, boolean inverse)
          Creates a new instance of HashtableComparator
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

HashtableComparator

public HashtableComparator(java.lang.String key)
Creates a new instance of HashtableComparator

Parameters:
key - The key that should be used to compare the Hashtables

HashtableComparator

public HashtableComparator(java.lang.String key,
                           boolean inverse)
Creates a new instance of HashtableComparator

Parameters:
key - The key that should be used to compare the Hashtables
inverse - The order should be inverse?
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator