T
- public class OConcurrentLegacyResultSet<T> extends Object implements OLegacyResultSet<T>
OSQLAsynchQuery
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected boolean |
completed |
protected Object |
waitForCompletion |
protected Object |
waitForNextItem |
protected OBasicLegacyResultSet<T> |
wrapped |
Constructor and Description |
---|
OConcurrentLegacyResultSet() |
OConcurrentLegacyResultSet(OBasicLegacyResultSet<T> wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
OLegacyResultSet<T> |
copy() |
int |
currentSize()
Returns the current size.
|
boolean |
equals(Object obj) |
T |
get(int index) |
int |
getLimit() |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
boolean |
isEmptyNoWait() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
protected void |
notifyNewItem() |
void |
readExternal(ObjectInput in) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
OConcurrentLegacyResultSet<T> |
setCompleted() |
OLegacyResultSet<T> |
setLimit(int limit) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] a) |
String |
toString() |
protected void |
waitForCompletion() |
protected void |
waitForNewItemOrCompleted() |
void |
writeExternal(ObjectOutput out) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
protected final transient Object waitForNextItem
protected final transient Object waitForCompletion
protected final transient OBasicLegacyResultSet<T> wrapped
protected transient volatile boolean completed
public OConcurrentLegacyResultSet()
public OConcurrentLegacyResultSet(OBasicLegacyResultSet<T> wrapped)
public OConcurrentLegacyResultSet<T> setCompleted()
setCompleted
in interface OLegacyResultSet<T>
public int getLimit()
getLimit
in interface OLegacyResultSet<T>
public OLegacyResultSet<T> setLimit(int limit)
setLimit
in interface OLegacyResultSet<T>
public OLegacyResultSet<T> copy()
copy
in interface OLegacyResultSet<T>
public boolean isEmptyNoWait()
isEmptyNoWait
in interface OLegacyResultSet<T>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<T>
public ListIterator<T> listIterator()
listIterator
in interface List<T>
public ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
public int size()
public int currentSize()
OLegacyResultSet
currentSize
in interface OLegacyResultSet<T>
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T1> T1[] toArray(T1[] a)
public boolean add(T t)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public boolean addAll(Collection<? extends T> c)
public boolean addAll(int index, Collection<? extends T> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public int hashCode()
public boolean equals(Object obj)
protected void waitForCompletion()
protected void waitForNewItemOrCompleted()
protected void notifyNewItem()
Copyright © 2009–2020 OrientDB. All rights reserved.