infomat.vectorspace.ivector
Class IVector.TLiteralComparator

java.lang.Object
  extended by infomat.vectorspace.ivector.IVector.TLiteralComparator
All Implemented Interfaces:
java.util.Comparator<T>
Enclosing class:
IVector<T extends IVectorIndex>

private class IVector.TLiteralComparator
extends java.lang.Object
implements java.util.Comparator<T>

Private class for ordering the Ts in literal order. Uses the IVectorIndex.getString() - method.


Constructor Summary
private IVector.TLiteralComparator()
           
 
Method Summary
 int compare(T t1, T t2)
           
 
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

IVector.TLiteralComparator

private IVector.TLiteralComparator()
Method Detail

compare

public int compare(T t1,
                   T t2)
Specified by:
compare in interface java.util.Comparator<T extends IVectorIndex>