public class PagedEventCollectionRepresentation extends EventCollectionRepresentation implements PagedCollectionRepresentation<EventRepresentation>
Constructor and Description |
---|
PagedEventCollectionRepresentation(EventCollectionRepresentation collection,
PagedCollectionResource<EventRepresentation,? extends EventCollectionRepresentation> collectionResource) |
Modifier and Type | Method and Description |
---|---|
Iterable<EventRepresentation> |
allPages() |
Iterable<EventRepresentation> |
elements(int limit) |
getEvents, iterator, setEvents
getNext, getPageStatistics, getPrev, setNext, setPageStatistics, setPrev
getSelf, getSelfDecoded, setSelf, toJSON, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public PagedEventCollectionRepresentation(EventCollectionRepresentation collection, PagedCollectionResource<EventRepresentation,? extends EventCollectionRepresentation> collectionResource)
public Iterable<EventRepresentation> allPages()
allPages
in interface PagedCollectionRepresentation<EventRepresentation>
public Iterable<EventRepresentation> elements(int limit)
elements
in interface PagedCollectionRepresentation<EventRepresentation>
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.