|
|||||||||
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 | +--soot.util.SingletonList
A list containing exactly one object, immutable.
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
SingletonList(java.lang.Object o)
|
Method Summary | |
boolean |
contains(java.lang.Object other)
|
java.lang.Object |
get(int index)
|
int |
size()
|
Methods inherited from class java.util.AbstractList |
add,
add,
addAll,
clear,
equals,
hashCode,
indexOf,
iterator,
lastIndexOf,
listIterator,
listIterator,
remove,
removeRange,
set,
subList |
Methods inherited from class java.util.AbstractCollection |
addAll,
containsAll,
isEmpty,
remove,
removeAll,
retainAll,
toArray,
toArray,
toString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public SingletonList(java.lang.Object o)
Method Detail |
public int size()
public boolean contains(java.lang.Object other)
public java.lang.Object get(int index)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |