csa120.shape
Class Group.DepthCompare
java.lang.Object
csa120.shape.Group.DepthCompare
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- Group
- private class Group.DepthCompare
- extends Object
- implements Comparator
Inner class DepthCompare - a comparator for use in sorting by
descending depth in preparation for painters algorithm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Group.DepthCompare
private Group.DepthCompare()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare in interface Comparator