Util.Templates
Class UnmodifiableList.BasicBlock

java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
Util.Templates.UnmodifiableList.BasicBlock
- All Implemented Interfaces:
- java.util.Collection, java.lang.Iterable, java.util.List, List.BasicBlock
- Enclosing class:
- UnmodifiableList
- public static class UnmodifiableList.BasicBlock
- extends java.util.AbstractList
- implements List.BasicBlock
| 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 interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
a
private final Compil3r.Quad.BasicBlock[] a
EMPTY
public static final UnmodifiableList.BasicBlock EMPTY
UnmodifiableList.BasicBlock
public UnmodifiableList.BasicBlock(Compil3r.Quad.BasicBlock[] 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
basicBlockIterator
public ListIterator.BasicBlock basicBlockIterator()
- Specified by:
basicBlockIterator in interface List.BasicBlock
getEmptyList
public static UnmodifiableList.BasicBlock getEmptyList()