org.openmdx.base.collection
Class MarshallingSequentialList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList
org.openmdx.base.collection.MarshallingSequentialList
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List, Reconstructable
public class MarshallingSequentialList
- extends AbstractSequentialList
- implements Reconstructable, Serializable
A Marshalling Sequential List
- See Also:
- Serialized Form
list
protected transient List list
marshaller
protected CollectionMarshaller marshaller
MarshallingSequentialList
public MarshallingSequentialList(CollectionMarshaller marshaller,
List list)
- Constructor
- Parameters:
marshaller - list -
MarshallingSequentialList
public MarshallingSequentialList(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 AbstractSequentialList
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 element)
- 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- Overrides:
get in class AbstractSequentialList
getDelegate
protected List getDelegate()
- Returns:
indexOf
public int indexOf(Object arg0)
- 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
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 AbstractSequentialList
lastIndexOf
public int lastIndexOf(Object arg0)
- Specified by:
lastIndexOf in interface List- Overrides:
lastIndexOf in class AbstractList
listIterator
public ListIterator listIterator()
- Specified by:
listIterator in interface List- Overrides:
listIterator in class AbstractList
listIterator
public ListIterator listIterator(int index)
- Specified by:
listIterator in interface List- Specified by:
listIterator in class AbstractSequentialList
remove
public Object remove(int index)
- Specified by:
remove in interface List- Overrides:
remove in class AbstractSequentialList
remove
public boolean remove(Object element)
- Specified by:
remove in interface Collection- Specified by:
remove in interface List- Overrides:
remove in class AbstractCollection
set
public Object set(int index,
Object arg1)
- Specified by:
set in interface List- Overrides:
set in class AbstractSequentialList
size
public int size()
- Specified by:
size in interface Collection- Specified by:
size in interface List- Specified by:
size in class AbstractCollection
write
public void write(OutputStream stream)
throws ServiceException
- Write part of a reconstructable object's state to an OutputStream
(optional operation).
- Specified by:
write in interface Reconstructable
- Parameters:
stream - OutputStream that holds part of a reconstructable object's
state.
- Throws:
ServiceException - if partial state streaming fails
ServiceException - NOT_SUPPORTED
if the instance is not reconstructable
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.