Class Pagination<T>
java.lang.Object
dev.getelements.elements.sdk.model.Pagination<T>
- All Implemented Interfaces:
Serializable
,Iterable<T>
- Direct Known Subclasses:
AuthSchemePagination
,DistinctInventoryItemPagination
,ElementsSmartContractPagination
,InventoryItemPagination
,MetadataSpecPagination
,MongoRankDao.MongoRankPagination
,ProfilePagination
,ProgressPagination
,SaveDataDocumentPagination
,ScheduleEventPagination
,SchedulePagination
,SmartContractPagination
,VaultPagination
,WalletPagination
Created by patricktwohig on 3/25/15.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Pagination
<T> empty()
boolean
static <U> Pagination
<U> int
int
getTotal()
int
hashCode()
boolean
iterator()
void
setApproximation
(boolean approximation) void
setObjects
(List<T> objects) void
setOffset
(int offset) void
setTotal
(int total) stream()
<U> Pagination
<U> Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Pagination
public Pagination()
-
-
Method Details
-
empty
-
getOffset
public int getOffset() -
setOffset
public void setOffset(int offset) -
getTotal
public int getTotal() -
setTotal
public void setTotal(int total) -
getObjects
-
setObjects
-
isApproximation
public boolean isApproximation() -
setApproximation
public void setApproximation(boolean approximation) -
from
-
transform
-
stream
-
iterator
-
equals
-
hashCode
public int hashCode()
-