org.cdlib.xtf.textEngine.facet
Class SiblingSelector

Object
  extended by GroupSelector
      extended by SiblingSelector

public class SiblingSelector
extends GroupSelector

Select all siblings of each incoming group.


Field Summary
private  HashSet parents
           
 
Fields inherited from class GroupSelector
conservative, counts, next
 
Constructor Summary
SiblingSelector()
           
 
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

parents

private HashSet parents
Constructor Detail

SiblingSelector

public SiblingSelector()
Method Detail

reset

public void reset(boolean conservative)
Description copied from class: GroupSelector
Reset the selector

Overrides:
reset in class GroupSelector

process

public void process(int group)
Description copied from class: GroupSelector
Process the next group

Specified by:
process in class GroupSelector

toString

public String toString()
Description copied from class: GroupSelector
Get a string representation

Specified by:
toString in class GroupSelector