com.bigdata.rdf.model
Class BigdataValueIdComparator
java.lang.Object
com.bigdata.rdf.model.BigdataValueIdComparator
- All Implemented Interfaces:
- Comparator<BigdataValue>
public class BigdataValueIdComparator
- extends Object
- implements Comparator<BigdataValue>
Places BigdataValues into an ordering determined by their assigned
term identifiers.
- Version:
- $Id: BigdataValueIdComparator.java 3305 2010-07-27 15:08:28Z thompsonbry $
- Author:
- Bryan Thompson
|
Method Summary |
int |
compare(BigdataValue term1,
BigdataValue term2)
Note: comparison avoids possible overflow of long by
not computing the difference directly. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final transient Comparator<BigdataValue> INSTANCE
BigdataValueIdComparator
public BigdataValueIdComparator()
compare
public int compare(BigdataValue term1,
BigdataValue term2)
- Note: comparison avoids possible overflow of
long by
not computing the difference directly.
- Specified by:
compare in interface Comparator<BigdataValue>
Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.