com.bigdata.sparse
Class TPS.TPVComparator

java.lang.Object
  extended by com.bigdata.sparse.TPS.TPVComparator
All Implemented Interfaces:
Comparator<TPS.TPV>
Enclosing class:
TPS

protected static class TPS.TPVComparator
extends Object
implements Comparator<TPS.TPV>

Imposes ordering based on schema, property name, and timestamp. It is an error to have a collection with multiple values for the same schema, property name, and timestamp.

Version:
$Id: TPS.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
static Comparator<TPS.TPV> INSTANCE
           
 
Method Summary
 int compare(TPS.TPV o1, TPS.TPV 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
 

Field Detail

INSTANCE

public static final transient Comparator<TPS.TPV> INSTANCE
Method Detail

compare

public int compare(TPS.TPV o1,
                   TPS.TPV o2)
Specified by:
compare in interface Comparator<TPS.TPV>


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.