private PagedEdgeList getOtherPage(long otherPagesCursor) throws FlockException, IOException { EdgeQuery nextPageQuery = edgeQuery.setPage(edgeQuery.getPage().setCursor(otherPagesCursor)); List<EdgeResults> results; try { results = backingFlockClient.select_edges(Collections.singletonList(nextPageQuery)); } catch (TException e) { throw new IOException(e); } return new PagedEdgeList(backingFlockClient, nextPageQuery, results.get(0)); }
public boolean hasPreviousPage() { return edgeQuery.getPage().getCursor() != -1; }