These need to be in the leaf classes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1814 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -183,10 +183,4 @@ public abstract class BaseArrayList<T> extends AbstractList<T>
|
|||||||
|
|
||||||
/** The number of elements in our list. */
|
/** The number of elements in our list. */
|
||||||
protected int _size;
|
protected int _size;
|
||||||
|
|
||||||
/** Change this if the fields or inheritance hierarchy ever changes
|
|
||||||
* (which is extremely unlikely). We override this because I'm tired
|
|
||||||
* of serialized crap not working depending on whether I compiled with
|
|
||||||
* jikes or javac. */
|
|
||||||
private static final long serialVersionUID = 1;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -96,4 +96,10 @@ public class ComparableArrayList<T extends Comparable<? super T>>
|
|||||||
return o1.compareTo(o2); // null-free
|
return o1.compareTo(o2); // null-free
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** Change this if the fields or inheritance hierarchy ever changes
|
||||||
|
* (which is extremely unlikely). We override this because I'm tired
|
||||||
|
* of serialized crap not working depending on whether I compiled with
|
||||||
|
* jikes or javac. */
|
||||||
|
private static final long serialVersionUID = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,4 +78,10 @@ public class SortableArrayList<T> extends BaseArrayList<T>
|
|||||||
{
|
{
|
||||||
return ArrayUtil.binarySearch(_elements, 0, _size, key, comp);
|
return ArrayUtil.binarySearch(_elements, 0, _size, key, comp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Change this if the fields or inheritance hierarchy ever changes
|
||||||
|
* (which is extremely unlikely). We override this because I'm tired
|
||||||
|
* of serialized crap not working depending on whether I compiled with
|
||||||
|
* jikes or javac. */
|
||||||
|
private static final long serialVersionUID = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user