git-svn-id: https://samskivert.googlecode.com/svn/trunk@1811 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -84,7 +84,7 @@ public class ComparableArrayList<T extends Comparable<? super T>>
|
|||||||
return ArrayUtil.binarySearch(_elements, 0, _size, key);
|
return ArrayUtil.binarySearch(_elements, 0, _size, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Comparator<T> _comp = new Comparator<T>() {
|
protected transient Comparator<T> _comp = new Comparator<T>() {
|
||||||
public int compare (T o1, T o2) {
|
public int compare (T o1, T o2) {
|
||||||
if (o1 == o2) { // catches null == null
|
if (o1 == o2) { // catches null == null
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user