|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - The generic type of the elements in the chunk.public interface IRemoteChunk<E>
Abstraction for a chunk from a remote iterator. Instances of this interface
are serialized by a remote service and materialized on the client. The
interface itself is NOT Remote.
| Method Summary | |
|---|---|
E[] |
getChunk()
The elements in the current chunk -or- null iff there are
NO elements in the chunk. |
IKeyOrder<E> |
getKeyOrder()
The natural sort orded of the elements in this chunk -or- null if the elements are not in any known order. |
boolean |
isExhausted()
true iff the iterator will not return any more chunks. |
| Method Detail |
|---|
boolean isExhausted()
true iff the iterator will not return any more chunks.
E[] getChunk()
null iff there are
NO elements in the chunk.
IKeyOrder<E> getKeyOrder()
null if the elements are not in any known order.
Note: The returned value should be the same each time for a given source iterator. It is put here so that we can avoid an RMI for this property and the expense of serializing the value with each chunk.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||