org.openmdx.base.collection
Class MarshallingList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
org.openmdx.base.collection.MarshallingList
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List
public class MarshallingList
- extends AbstractList
- implements Serializable
A Marshalling List
- See Also:
- Serialized Form
list
protected List list
marshaller
protected CollectionMarshaller marshaller
MarshallingList
public MarshallingList(CollectionMarshaller marshaller,
List list)
- Constructor
- Parameters:
marshaller - list -
MarshallingList
public MarshallingList(Marshaller marshaller,
List list)
- Constructor
- Parameters:
marshaller - list -
add
public void add(int index,
Object element)
- Specified by:
add in interface List- Overrides:
add in class AbstractList
add
public boolean add(Object element)
- Specified by:
add in interface Collection- Specified by:
add in interface List- Overrides:
add in class AbstractList
clear
public void clear()
- Specified by:
clear in interface Collection- Specified by:
clear in interface List- Overrides:
clear in class AbstractList
contains
public boolean contains(Object candidate)
- Specified by:
contains in interface Collection- Specified by:
contains in interface List- Overrides:
contains in class AbstractCollection
get
public Object get(int index)
- Specified by:
get in interface List- Specified by:
get in class AbstractList
indexOf
public int indexOf(Object candidate)
- Specified by:
indexOf in interface List- Overrides:
indexOf in class AbstractList
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Collection- Specified by:
isEmpty in interface List- Overrides:
isEmpty in class AbstractCollection
lastIndexOf
public int lastIndexOf(Object candidate)
- Specified by:
lastIndexOf in interface List- Overrides:
lastIndexOf in class AbstractList
remove
public Object remove(int index)
- Specified by:
remove in interface List- Overrides:
remove in class AbstractList
remove
public boolean remove(Object candidate)
- Specified by:
remove in interface Collection- Specified by:
remove in interface List- Overrides:
remove in class AbstractCollection
set
public Object set(int index,
Object element)
- Specified by:
set in interface List- Overrides:
set 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
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.