Module org.yamcs.client
Package org.yamcs.client.base
Class AbstractPage<RequestT extends com.google.protobuf.Message,ResponseT extends com.google.protobuf.Message,ItemT>
java.lang.Object
org.yamcs.client.base.AbstractPage<RequestT,ResponseT,ItemT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidfuture()booleaniterator()Returns an iterator.mapRepeatableField(Object field) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
AbstractPage
-
-
Method Details
-
future
-
mapRepeatableField
-
getResponse
-
hasNextPage
public boolean hasNextPage()- Specified by:
hasNextPagein interfacePage<RequestT extends com.google.protobuf.Message>
-
getNextPage
- Specified by:
getNextPagein interfacePage<RequestT extends com.google.protobuf.Message>
-
fetch
-
iterator
Returns an iterator. This only iterates the current page.
-