public class OObjectLazyList<TYPE> extends ArrayList<TYPE> implements OLazyObjectListInterface<TYPE>, OObjectLazyMultivalueElement<List<TYPE>>, Serializable
modCount
Constructor and Description |
---|
OObjectLazyList(Object iSourceRecord,
List<OIdentifiable> iRecordList,
boolean orphanRemoval) |
OObjectLazyList(Object iSourceRecord,
List<OIdentifiable> iRecordList,
Collection<? extends TYPE> iSourceList,
boolean orphanRemoval) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
TYPE element) |
boolean |
add(TYPE element) |
boolean |
addAll(Collection<? extends TYPE> c) |
boolean |
addAll(int index,
Collection<? extends TYPE> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected void |
convertAll() |
protected void |
convertAndDetachAll(boolean nonProxiedInstance,
Map<Object,Object> alreadyDetached,
Map<Object,Object> lazyObjects) |
void |
detach() |
void |
detach(boolean nonProxiedInstance) |
void |
detachAll(boolean nonProxiedInstance,
Map<Object,Object> alreadyDetached,
Map<Object,Object> lazyObjects) |
TYPE |
get(int index) |
protected OObjectDatabaseTx |
getDatabase() |
String |
getFetchPlan() |
List<TYPE> |
getNonOrientInstance() |
Object |
getUnderlying() |
protected boolean |
indexLoaded(int iIndex) |
int |
indexOf(Object o) |
boolean |
isConverted() |
boolean |
isConvertToRecord() |
boolean |
isEmpty() |
Iterator<TYPE> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<TYPE> |
listIterator() |
ListIterator<TYPE> |
listIterator(int index) |
TYPE |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
TYPE |
set(int index,
TYPE element) |
void |
setConvertToRecord(boolean convertToRecord) |
void |
setDirty() |
OObjectLazyList<TYPE> |
setFetchPlan(String fetchPlan) |
int |
size() |
Spliterator<TYPE> |
spliterator() |
List<TYPE> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, ensureCapacity, forEach, removeIf, removeRange, replaceAll, sort, trimToSize
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, hashCode, replaceAll, sort
parallelStream, removeIf, stream
public OObjectLazyList(Object iSourceRecord, List<OIdentifiable> iRecordList, boolean orphanRemoval)
public OObjectLazyList(Object iSourceRecord, List<OIdentifiable> iRecordList, Collection<? extends TYPE> iSourceList, boolean orphanRemoval)
public Spliterator<TYPE> spliterator()
spliterator
in interface Iterable<TYPE>
spliterator
in interface Collection<TYPE>
spliterator
in interface List<TYPE>
spliterator
in class ArrayList<TYPE>
public boolean contains(Object o)
public boolean add(TYPE element)
public void add(int index, TYPE element)
public TYPE get(int index)
public int indexOf(Object o)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<TYPE>
lastIndexOf
in class ArrayList<TYPE>
public Object[] toArray()
public <T> T[] toArray(T[] a)
public int size()
public boolean isEmpty()
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<TYPE>
containsAll
in interface List<TYPE>
containsAll
in class AbstractCollection<TYPE>
public boolean addAll(Collection<? extends TYPE> c)
public boolean addAll(int index, Collection<? extends TYPE> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public TYPE remove(int index)
public ListIterator<TYPE> listIterator()
listIterator
in interface List<TYPE>
listIterator
in class ArrayList<TYPE>
public ListIterator<TYPE> listIterator(int index)
listIterator
in interface List<TYPE>
listIterator
in class ArrayList<TYPE>
public String getFetchPlan()
public OObjectLazyList<TYPE> setFetchPlan(String fetchPlan)
public boolean isConvertToRecord()
public void setConvertToRecord(boolean convertToRecord)
setConvertToRecord
in interface OLazyObjectListInterface<TYPE>
public boolean isConverted()
isConverted
in interface OLazyObjectListInterface<TYPE>
public void detach()
public void detach(boolean nonProxiedInstance)
detach
in interface OObjectLazyMultivalueElement<List<TYPE>>
protected void convertAll()
public void setDirty()
public List<TYPE> getNonOrientInstance()
getNonOrientInstance
in interface OObjectLazyMultivalueElement<List<TYPE>>
public Object getUnderlying()
getUnderlying
in interface OObjectLazyMultivalueElement<List<TYPE>>
public void detachAll(boolean nonProxiedInstance, Map<Object,Object> alreadyDetached, Map<Object,Object> lazyObjects)
detachAll
in interface OObjectLazyMultivalueElement<List<TYPE>>
protected void convertAndDetachAll(boolean nonProxiedInstance, Map<Object,Object> alreadyDetached, Map<Object,Object> lazyObjects)
protected OObjectDatabaseTx getDatabase()
protected boolean indexLoaded(int iIndex)
public String toString()
toString
in class AbstractCollection<TYPE>
Copyright © 2009–2020 OrientDB. All rights reserved.