org.ardverk.collection
Class AbstractKeyAnalyzer<K>

java.lang.Object
  extended by org.ardverk.collection.AbstractKeyAnalyzer<K>
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<K>, KeyAnalyzer<K>
Direct Known Subclasses:
ByteArrayKeyAnalyzer, ByteKeyAnalyzer, CharacterKeyAnalyzer, CharArrayKeyAnalyzer, IntegerKeyAnalyzer, LongKeyAnalyzer, StringKeyAnalyzer

public abstract class AbstractKeyAnalyzer<K>
extends java.lang.Object
implements KeyAnalyzer<K>

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.ardverk.collection.KeyAnalyzer
EQUAL_BIT_KEY, NULL_BIT_KEY, OUT_OF_BOUNDS_BIT_KEY
 
Constructor Summary
AbstractKeyAnalyzer()
           
 
Method Summary
 int compare(K o1, K o2)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ardverk.collection.KeyAnalyzer
bitIndex, bitsPerElement, isBitSet, isPrefix, lengthInBits
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

AbstractKeyAnalyzer

public AbstractKeyAnalyzer()
Method Detail

compare

public int compare(K o1,
                   K o2)

Specified by:
compare in interface java.util.Comparator<K>


Copyright © 2005-2009 Roger Kapsi, Sam Berlin. All Rights Reserved.