com.bigdata.rdf.spo
Class POSComparator

java.lang.Object
  extended by com.bigdata.rdf.spo.POSComparator
All Implemented Interfaces:
Comparator<ISPO>

public class POSComparator
extends Object
implements Comparator<ISPO>

Imposes p:o:s ordering based on termIds only.

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

Field Summary
static Comparator<ISPO> INSTANCE
           
 
Method Summary
 int compare(ISPO stmt1, ISPO stmt2)
           
 
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<ISPO> INSTANCE
Method Detail

compare

public int compare(ISPO stmt1,
                   ISPO stmt2)
Specified by:
compare in interface Comparator<ISPO>


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