com.bigdata.rdf.spo
Class OSPComparator

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

public class OSPComparator
extends Object
implements Comparator<ISPO>

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

Version:
$Id: OSPComparator.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.