|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGroupSelector
TopChoiceSelector
public class TopChoiceSelector
Select the top level of the hierarchy that has a choice.
Field Summary | |
---|---|
private Vector |
bestChildren
|
private int |
bestLevel
|
private int |
bestParent
|
private int[] |
firstChild
|
Fields inherited from class GroupSelector |
---|
conservative, counts, next |
Constructor Summary | |
---|---|
TopChoiceSelector()
|
Method Summary | |
---|---|
void |
flush()
Flush any queued groups |
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 |
---|
setCounts, setNext |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int bestLevel
private int bestParent
private Vector bestChildren
private int[] firstChild
Constructor Detail |
---|
public TopChoiceSelector()
Method Detail |
---|
public void reset(boolean conservative)
GroupSelector
reset
in class GroupSelector
public void process(int group)
GroupSelector
process
in class GroupSelector
public void flush()
GroupSelector
flush
in class GroupSelector
public String toString()
GroupSelector
toString
in class GroupSelector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |