|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.TaskHeap.util.HeapAssociationHeapComparator
public class HeapAssociationHeapComparator
Compares two HeapAssociations first by their heap reference, then by their uniqueID. Used to sort an array of HeapAssociations grouping by heap.
| Constructor Summary | |
|---|---|
HeapAssociationHeapComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compare two HeapAssociations first by heap, then by uniqueID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public HeapAssociationHeapComparator()
| Method Detail |
|---|
public int compare(java.lang.Object obj1,
java.lang.Object obj2)
compare in interface java.util.Comparator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||