Package com.jcabi.github
Class RtValuePagination<T,P extends javax.json.JsonValue>
- java.lang.Object
-
- com.jcabi.github.RtValuePagination<T,P>
-
- Type Parameters:
T
- Type of iterable objectsP
- Type of source objects
- All Implemented Interfaces:
Iterable<T>
@Immutable public final class RtValuePagination<T,P extends javax.json.JsonValue> extends Object implements Iterable<T>
Github value pagination.- Since:
- 0.8
- Version:
- $Id: 2f37773a4a8dac6ff03c810c7640c5a36cc59aec $
- Author:
- Paul Polishchuk (ppol@ua.fm)
- See Also:
- Pagination
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RtValuePagination.Mapping<X,P extends javax.json.JsonValue>
Mapping from JsonValue successor to the destination type.
-
Constructor Summary
Constructors Constructor Description RtValuePagination(com.jcabi.http.Request req, RtValuePagination.Mapping<T,P> mpp)
Public ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<T>
iterator()
RtValuePagination.Mapping<T,P>
mapping()
Mapping.com.jcabi.http.Request
request()
Entry.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
RtValuePagination
public RtValuePagination(com.jcabi.http.Request req, RtValuePagination.Mapping<T,P> mpp)
Public ctor.- Parameters:
req
- Requestmpp
- Mapping
-
-
Method Detail
-
request
public com.jcabi.http.Request request()
Entry.- Returns:
- Entry point
-
mapping
public RtValuePagination.Mapping<T,P> mapping()
Mapping.- Returns:
- Mapping
-
-