public class DocumentComparator extends Object implements Comparator<org.bson.BSONObject>
| Constructor and Description |
|---|
DocumentComparator(org.bson.BSONObject orderBy) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.bson.BSONObject document1,
org.bson.BSONObject document2) |
static Object |
getSubdocumentValue(org.bson.BSONObject document,
String key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic static Object getSubdocumentValue(org.bson.BSONObject document, String key)
public int compare(org.bson.BSONObject document1,
org.bson.BSONObject document2)
compare in interface Comparator<org.bson.BSONObject>Copyright © 2013. All Rights Reserved.