public class IndexComparator extends Object implements Comparator, Serializable
Compare index of two objects
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
IndexComparator() |
IndexComparator(boolean reversed) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object firstObj,
Object secondObj) |
boolean |
equals(Object obj) |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic IndexComparator()
public IndexComparator(boolean reversed)
public int compare(Object firstObj, Object secondObj)
compare in interface Comparatorpublic boolean equals(Object obj)
equals in interface Comparatorequals in class ObjectCopyright © 2018 JULIE Lab, Germany. All rights reserved.