T
- comparator typeSerializable
, Comparator<T>
public class HasPriorityComparator<T> extends Object implements Comparator<T>, Serializable
Constructor | Description |
---|---|
HasPriorityComparator() |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(T o1,
T o2) |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(T o1, T o2)
compare
in interface Comparator<T>
Copyright © 2018 The University of Manchester. All rights reserved.