com.google.appengine.api.datastore
Class EntityProtoComparators.EntityProtoComparator
java.lang.Object
com.google.appengine.api.datastore.EntityProtoComparators.EntityProtoComparator
- All Implemented Interfaces:
- java.util.Comparator<OnestoreEntity.EntityProto>
- Enclosing class:
- EntityProtoComparators
public static final class EntityProtoComparators.EntityProtoComparator
- extends java.lang.Object
- implements java.util.Comparator<OnestoreEntity.EntityProto>
Method Summary |
int |
compare(OnestoreEntity.EntityProto protoA,
OnestoreEntity.EntityProto protoB)
|
java.util.List<Order> |
getAdjustedOrders()
|
boolean |
matches(OnestoreEntity.EntityProto proto)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
EntityProtoComparators.EntityProtoComparator
public EntityProtoComparators.EntityProtoComparator(java.util.List<Order> orders)
EntityProtoComparators.EntityProtoComparator
public EntityProtoComparators.EntityProtoComparator(java.util.List<Order> orders,
java.util.List<Filter> filters)
getAdjustedOrders
public java.util.List<Order> getAdjustedOrders()
matches
public boolean matches(OnestoreEntity.EntityProto proto)
compare
public int compare(OnestoreEntity.EntityProto protoA,
OnestoreEntity.EntityProto protoB)
- Specified by:
compare
in interface java.util.Comparator<OnestoreEntity.EntityProto>