protected class ExploreServlet.ResultCursor extends Object
Constructor and Description |
---|
ResultCursor(int offset,
int limit,
boolean render) |
Modifier and Type | Method and Description |
---|---|
void |
advance()
Advances the cursor, incrementing the total count, and moving other internal counters.
|
int |
getRenderedResultCount()
Gets the number of results that were actually rendered.
|
int |
getTotalResultCount()
Gets the total number of results.
|
boolean |
mayRender() |
public ResultCursor(int offset, int limit, boolean render)
offset
- the desired offset at which rendering should startlimit
- the desired maximum number of results to renderrender
- if false, suppresses any renderingpublic int getTotalResultCount()
public int getRenderedResultCount()
public boolean mayRender()
public void advance()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.