Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Util.Templates
Class UnmodifiableList.BasicBlock  view UnmodifiableList.BasicBlock download UnmodifiableList.BasicBlock.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byUtil.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


Nested Class Summary
private  class UnmodifiableList.BasicBlock.Iterator
           
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
private  Compil3r.Quad.BasicBlock[] a
           
static UnmodifiableList.BasicBlock EMPTY
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
UnmodifiableList.BasicBlock(Compil3r.Quad.BasicBlock[] c)
           
 
Method Summary
 ListIterator.BasicBlock basicBlockIterator()
           
 java.lang.Object get(int index)
          Get the element at a given index in this list.
 Compil3r.Quad.BasicBlock getBasicBlock(int index)
           
static UnmodifiableList.BasicBlock getEmptyList()
           
 int size()
          Get the number of elements in this list.
 
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, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

a

private final Compil3r.Quad.BasicBlock[] a

EMPTY

public static final UnmodifiableList.BasicBlock EMPTY
Constructor Detail

UnmodifiableList.BasicBlock

public UnmodifiableList.BasicBlock(Compil3r.Quad.BasicBlock[] c)
Method Detail

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()