soot.util
Class StationaryArrayList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
soot.util.StationaryArrayList
- All Implemented Interfaces:
- Cloneable, Collection, List, RandomAccess, Serializable
- public class StationaryArrayList
- extends ArrayList
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.
- See Also:
- Serialized Form
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 |
StationaryArrayList
public StationaryArrayList()
hashCode
public int hashCode()
equals
public boolean equals(Object other)