GigaSpaces XAP 9.1 API

com.gigaspaces.client
Interface TakeByIdsResult<T>

All Superinterfaces:
Iterable<T>

public interface TakeByIdsResult<T>
extends Iterable<T>

Holds iterable results of the 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.

Since:
7.1.1
Author:
idan

Method Summary
 T[] getResultsArray()
          Returns the results array for the takeByIds operation.
 Iterator<T> iterator()
          Returns an iterator over the takeByIds operation results.
 

Method Detail

iterator

Iterator<T> iterator()
Returns an iterator over the takeByIds operation results.

Specified by:
iterator in interface Iterable<T>

getResultsArray

T[] getResultsArray()
Returns the results array for the 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.

Returns:
Results array.

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.