|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.ArrayList | +--soot.util.StationaryArrayList
This class implements an ArrayList where the equality and hashCode use object equality, not list equality. This is important for putting Lists into HashMaps. The notation "Stationary" refers to the fact that the List stays "fixed" under list changes.
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
StationaryArrayList()
|
Method Summary | |
boolean |
equals(java.lang.Object other)
|
int |
hashCode()
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Constructor Detail |
public StationaryArrayList()
Method Detail |
public int hashCode()
hashCode
in class java.util.AbstractList
public boolean equals(java.lang.Object other)
equals
in class java.util.AbstractList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |