This project has retired. For details please refer to its
Attic page.
StringComparator (Apache Gora 0.6 API)
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(String o1,
String o2) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
compare
public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
- Specified by:
compare
in interface org.apache.hadoop.io.RawComparator<String>
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.