|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectGroupSelector
RangeSelector
public class RangeSelector
Select a range of the incoming groups
| Field Summary | |
|---|---|
(package private) int |
max
|
(package private) int |
returned
|
(package private) int |
skipped
|
(package private) int |
start
|
| Fields inherited from class GroupSelector |
|---|
conservative, counts, next |
| Constructor Summary | |
|---|---|
RangeSelector(int start,
int max)
|
|
| Method Summary | |
|---|---|
void |
process(int group)
Process the next group |
void |
reset(boolean conservative)
Reset the selector |
String |
toString()
Get a string representation |
| Methods inherited from class GroupSelector |
|---|
flush, setCounts, setNext |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int start
int max
int skipped
int returned
| Constructor Detail |
|---|
public RangeSelector(int start,
int max)
| Method Detail |
|---|
public void reset(boolean conservative)
GroupSelector
reset in class GroupSelectorpublic void process(int group)
GroupSelector
process in class GroupSelectorpublic String toString()
GroupSelector
toString in class GroupSelector
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||