public abstract class ReadTakeByIdsResult<T> extends Object implements ReadByIdsResult<T>, TakeByIdsResult<T>
Constructor and Description |
---|
ReadTakeByIdsResult(T[] results) |
Modifier and Type | Method and Description |
---|---|
T[] |
getResultsArray()
Returns the results array for the
readByIds operation. |
Iterator<T> |
iterator()
Returns an iterator over the readByIds operation results.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected T[] _results
public ReadTakeByIdsResult(T[] results)
public Iterator<T> iterator()
ReadByIdsResult
iterator
in interface ReadByIdsResult<T>
iterator
in interface TakeByIdsResult<T>
iterator
in interface Iterable<T>
public T[] getResultsArray()
ReadByIdsResult
readByIds
operation. The array's size is
the same as that of the given Ids array. Unmatched Ids will have a null
value in
the corresponding results array index.
getResultsArray
in interface ReadByIdsResult<T>
getResultsArray
in interface TakeByIdsResult<T>
Copyright © GigaSpaces.