Util.Templates
Class ListWrapper.BasicBlock

java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
Util.Templates.ListWrapper.BasicBlock
- All Implemented Interfaces:
- java.util.Collection, java.lang.Iterable, java.util.List, List.BasicBlock
- Enclosing class:
- ListWrapper
- public static class ListWrapper.BasicBlock
- extends java.util.AbstractList
- implements List.BasicBlock
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
| Methods inherited from interface java.util.List |
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray |
a
private final java.util.List a
ListWrapper.BasicBlock
public ListWrapper.BasicBlock(java.util.List c)
size
public int size()
- Description copied from interface:
java.util.List
- Get the number of elements in this list. If the list contains more
than Integer.MAX_VALUE elements, return Integer.MAX_VALUE.
- Specified by:
size in interface java.util.List
get
public java.lang.Object get(int index)
- Description copied from interface:
java.util.List
- Get the element at a given index in this list.
- Specified by:
get in interface java.util.List
getBasicBlock
public Compil3r.Quad.BasicBlock getBasicBlock(int index)
- Specified by:
getBasicBlock in interface List.BasicBlock
add
public void add(int i,
java.lang.Object o)
- Description copied from interface:
java.util.List
- Insert an element into the list at a given position (optional operation).
This shifts all existing elements from that position to the end one
index to the right. This version of add has no return, since it is
assumed to always succeed if there is no exception.
- Specified by:
add in interface java.util.List
set
public java.lang.Object set(int i,
java.lang.Object o)
- Description copied from interface:
java.util.List
- Replace an element of this list with another object (optional operation).
- Specified by:
set in interface java.util.List
remove
public java.lang.Object remove(int i)
- Description copied from interface:
java.util.List
- Remove the element at a given position in this list (optional operation).
Shifts all remaining elements to the left to fill the gap.
- Specified by:
remove in interface java.util.List
basicBlockIterator
public ListIterator.BasicBlock basicBlockIterator()
- Specified by:
basicBlockIterator in interface List.BasicBlock