org.cdlib.xtf.textEngine.facet
Class UnionSelector

Object
  extended by GroupSelector
      extended by UnionSelector

public class UnionSelector
extends GroupSelector

Pass incoming groups to a number of selectors.


Field Summary
(package private)  GroupSelector[] selectors
           
 
Fields inherited from class GroupSelector
conservative, counts, next
 
Constructor Summary
UnionSelector(GroupSelector[] selectors)
           
 
Method Summary
 void flush()
          Flush any remaining queued groups
 void process(int group)
          Process the given group.
 void reset(boolean conservative)
          Reset the selector
 void setCounts(GroupCounts counts)
          Set the counts to be used
 String toString()
          Get a string representation
 
Methods inherited from class GroupSelector
setNext
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

selectors

GroupSelector[] selectors
Constructor Detail

UnionSelector

public UnionSelector(GroupSelector[] selectors)
Method Detail

setCounts

public void setCounts(GroupCounts counts)
Set the counts to be used

Overrides:
setCounts in class GroupSelector

reset

public void reset(boolean conservative)
Reset the selector

Overrides:
reset in class GroupSelector

process

public void process(int group)
Process the given group.

Specified by:
process in class GroupSelector

flush

public void flush()
Flush any remaining queued groups

Overrides:
flush in class GroupSelector

toString

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

Specified by:
toString in class GroupSelector