public class DocumentComparator
extends java.lang.Object
implements java.util.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 java.lang.Object |
getSubdocumentValue(org.bson.BSONObject document,
java.lang.String key) |
public static java.lang.Object getSubdocumentValue(org.bson.BSONObject document,
java.lang.String key)
public int compare(org.bson.BSONObject document1,
org.bson.BSONObject document2)
compare in interface java.util.Comparator<org.bson.BSONObject>