Class ArrayAdapter<C>
- java.lang.Object
-
- org.datanucleus.store.types.ElementContainerAdapter<C>
-
- org.datanucleus.store.types.containers.ArrayAdapter<C>
-
- All Implemented Interfaces:
Iterable<Object>,ContainerAdapter<C>,SequenceAdapter
public class ArrayAdapter<C> extends ElementContainerAdapter<C> implements SequenceAdapter
-
-
Field Summary
-
Fields inherited from class org.datanucleus.store.types.ElementContainerAdapter
container
-
-
Constructor Summary
Constructors Constructor Description ArrayAdapter(C container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Object newElement)voidclear()CgetContainer()Iterator<Object>iterator()voidremove(Object element)voidupdate(Object newElement, int position)-
Methods inherited from class org.datanucleus.store.types.ElementContainerAdapter
setContainer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ArrayAdapter
public ArrayAdapter(C container)
-
-
Method Detail
-
getContainer
public C getContainer()
- Specified by:
getContainerin interfaceContainerAdapter<C>- Overrides:
getContainerin classElementContainerAdapter<C>
-
clear
public void clear()
- Specified by:
clearin interfaceContainerAdapter<C>
-
add
public void add(Object newElement)
- Specified by:
addin classElementContainerAdapter<C>
-
remove
public void remove(Object element)
- Specified by:
removein classElementContainerAdapter<C>
-
update
public void update(Object newElement, int position)
- Specified by:
updatein interfaceSequenceAdapter
-
-