|
SandMark version 2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.AbstractSequentialList | +--java.util.LinkedList | +--sandmark.obfuscate.boolsplitter.dtree.Tree.StmtList
StmtList is a linked list of statements. A number of methods are overridden because some adjustments may need to be made to the Nodes in the tree when certain operations are performed.
Nested Class Summary |
Nested classes inherited from class java.util.AbstractList |
|
Field Summary |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
(package private) |
Tree.StmtList()
|
Method Summary | |
void |
clear()
Clear the contents of this statement list. |
java.util.Iterator |
iterator()
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int index)
|
java.lang.Object |
remove(int index)
Removes the statement at index |
boolean |
remove(java.lang.Object o)
Remove a statement from the list and clean up afterwards. |
boolean |
removeAll(java.util.Collection c)
Remove all of the statements in a Collection from this statement list. |
boolean |
retainAll(java.util.Collection c)
Remove all statements in this list except those that are in a specified Collection. |
java.lang.Object |
set(int index,
java.lang.Object element)
Set the value of a given statement. |
Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, removeFirst, removeLast, size, toArray, toArray |
Methods inherited from class java.util.AbstractList |
equals, hashCode, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, subList |
Constructor Detail |
Tree.StmtList()
Method Detail |
public void clear()
clear
in interface java.util.List
clear
in class java.util.LinkedList
public boolean remove(java.lang.Object o)
remove
in interface java.util.List
remove
in class java.util.LinkedList
public boolean removeAll(java.util.Collection c)
removeAll
in interface java.util.List
removeAll
in class java.util.AbstractCollection
c
- A Collection containing the statements to remove.
public boolean retainAll(java.util.Collection c)
retainAll
in interface java.util.List
retainAll
in class java.util.AbstractCollection
c
- The statements to keep.
public java.lang.Object set(int index, java.lang.Object element)
set
in interface java.util.List
set
in class java.util.LinkedList
index
- Index of the statement to change.element
- New value of statement at index.
public java.lang.Object remove(int index)
remove
in interface java.util.List
remove
in class java.util.LinkedList
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
listIterator
in class java.util.AbstractList
public java.util.ListIterator listIterator(int index)
listIterator
in interface java.util.List
listIterator
in class java.util.LinkedList
public java.util.Iterator iterator()
iterator
in interface java.util.List
iterator
in class java.util.AbstractSequentialList
|
SandMark version 2.0 Mon Jun 17 12:30:47 MST 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |