public interface TakeByIdsResult<T> extends Iterable<T>
takeByIds
operation.
When iterating through the results, null values are skipped.
If you want to access null values, use the getResultsArray()
method.
Results are ordered based on the list of IDs provided to the takeByIds
method.Modifier and Type | Method and Description |
---|---|
T[] |
getResultsArray()
Returns the results array for the
takeByIds operation. |
Iterator<T> |
iterator()
Returns an iterator over the takeByIds operation results.
|
forEach, spliterator
T[] getResultsArray()
takeByIds
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.
Copyright © GigaSpaces.