joeq.Util.Templates
Class UnmodifiableList.Operand

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by joeq.Util.Templates.UnmodifiableList.Operand
All Implemented Interfaces:
Iterable, Collection, List, List.Operand
Enclosing class:
UnmodifiableList

public static class UnmodifiableList.Operand
extends AbstractList
implements List.Operand


Field Summary
static UnmodifiableList.Operand EMPTY
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
UnmodifiableList.Operand(Operand c)
           
UnmodifiableList.Operand(Operand[] c)
           
UnmodifiableList.Operand(Operand c1, Operand c2)
           
UnmodifiableList.Operand(Operand c1, Operand c2, Operand c3)
           
UnmodifiableList.Operand(Operand c1, Operand c2, Operand c3, Operand c4)
           
 
Method Summary
 Object get(int index)
           
static UnmodifiableList.Operand getEmptyList()
           
 Operand getOperand(int index)
           
 ListIterator.Operand operandIterator()
           
 int size()
           
 
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

EMPTY

public static final UnmodifiableList.Operand EMPTY
Constructor Detail

UnmodifiableList.Operand

public UnmodifiableList.Operand(Operand c)

UnmodifiableList.Operand

public UnmodifiableList.Operand(Operand c1,
                                Operand c2)

UnmodifiableList.Operand

public UnmodifiableList.Operand(Operand c1,
                                Operand c2,
                                Operand c3)

UnmodifiableList.Operand

public UnmodifiableList.Operand(Operand c1,
                                Operand c2,
                                Operand c3,
                                Operand c4)

UnmodifiableList.Operand

public UnmodifiableList.Operand(Operand[] c)
Method Detail

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface List
Specified by:
size in class AbstractCollection

get

public Object get(int index)
Specified by:
get in interface List
Specified by:
get in class AbstractList

getOperand

public Operand getOperand(int index)
Specified by:
getOperand in interface List.Operand

operandIterator

public ListIterator.Operand operandIterator()
Specified by:
operandIterator in interface List.Operand

getEmptyList

public static UnmodifiableList.Operand getEmptyList()


Copyright © 2001-2008 John Whaley. All Rights Reserved.