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

Quick Search    Search Deep

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

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


Nested Class Summary
static class ListWrapper.BasicBlock.EmptyIterator
           
static class ListWrapper.BasicBlock.Iterator
           
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
private  java.util.List a
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ListWrapper.BasicBlock(java.util.List c)
           
 
Method Summary
 void add(int i, java.lang.Object o)
          Insert an element into the list at a given position (optional operation).
 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)
           
 java.lang.Object remove(int i)
          Remove the element at a given position in this list (optional operation).
 java.lang.Object set(int i, java.lang.Object o)
          Replace an element of this list with another object (optional operation).
 int size()
          Get the number of elements in this list.
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, 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, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray
 

Field Detail

a

private final java.util.List a
Constructor Detail

ListWrapper.BasicBlock

public ListWrapper.BasicBlock(java.util.List 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

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