org.mmbase.util
Class Casting.ListWrapper

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList
          extended by org.mmbase.util.Casting.ListWrapper
All Implemented Interfaces:
Iterable, Collection, List
Enclosing class:
Casting

public static class Casting.ListWrapper
extends AbstractList


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Casting.ListWrapper(List l, CharTransformer e)
           
 
Method Summary
 void add(int index, Object value)
           
 boolean contains(Object o)
           
 Object get(int index)
           
 List getList()
           
 boolean isEmpty()
           
 Iterator iterator()
           
 ListIterator listIterator()
           
 Object remove(int index)
           
 Object set(int index, Object value)
           
 int size()
           
 Object[] toArray()
           
 Object[] toArray(Object[] a)
           
 String toString()
           
 
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
addAll, containsAll, remove, removeAll, retainAll
 

Constructor Detail

Casting.ListWrapper

Casting.ListWrapper(List l,
                    CharTransformer e)
Method Detail

get

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

size

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

set

public Object set(int index,
                  Object value)
Specified by:
set in interface List
Overrides:
set in class AbstractList

add

public void add(int index,
                Object value)
Specified by:
add in interface List
Overrides:
add in class AbstractList

remove

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

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface List
Overrides:
isEmpty in class AbstractCollection

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection
Specified by:
contains in interface List
Overrides:
contains in class AbstractCollection

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List
Overrides:
toArray in class AbstractCollection

toArray

public Object[] toArray(Object[] a)
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List
Overrides:
toArray in class AbstractCollection

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface List
Overrides:
iterator in class AbstractList

listIterator

public ListIterator listIterator()
Specified by:
listIterator in interface List
Overrides:
listIterator in class AbstractList

toString

public String toString()
Overrides:
toString in class AbstractCollection

getList

public List getList()


MMBase 2.0-SNAPSHOT - null