org.usergrid.persistence
Class EntityPropertyComparator
java.lang.Object
org.usergrid.persistence.EntityPropertyComparator
- All Implemented Interfaces:
- Comparator<Entity>
public class EntityPropertyComparator
- extends Object
- implements Comparator<Entity>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityPropertyComparator
public EntityPropertyComparator(String propertyName)
EntityPropertyComparator
public EntityPropertyComparator(String propertyName,
boolean reverse)
compare
public int compare(Entity e1,
Entity e2)
- Specified by:
compare
in interface Comparator<Entity>
Copyright © 2013. All Rights Reserved.