org.abora.white.collection.sets
Class UnionRecruiter
java.lang.Object
|
+--org.abora.white.xpp.basic.Heaper
|
+--org.abora.white.collection.steppers.Accumulator
|
+--org.abora.white.collection.sets.UnionRecruiter
- public class UnionRecruiter
- extends Accumulator
Like a SetAccumulator, a UnionRecruiter makes an ImmuSet out of the things that it
Accumulates. However, the things that a UnionRecruiter accumulates must themselves be
ScruSets, and the resulting ImmuSet consists of the union of the elements of each of the
accumulated sets as of the time they were accumulated.
|
Method Summary |
Accumulator |
copy()
Return a new Accumulator just like the current one, except that
from now on they accumulate separately |
static UnionRecruiter |
make()
Make a new UnionRecruiter which hasn't yet accumulated anything |
void |
sendSelfTo(Xmtr xmtr)
|
void |
step(Heaper someObj)
Accumulate a new object into the Accumulator |
Heaper |
value()
Return the object that results from accumulating all those objects |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
muSet
protected MuSet muSet
UnionRecruiter
protected UnionRecruiter()
UnionRecruiter
protected UnionRecruiter(Rcvr receiver)
make
public static UnionRecruiter make()
- Make a new UnionRecruiter which hasn't yet accumulated anything
step
public void step(Heaper someObj)
- Description copied from class:
Accumulator
- Accumulate a new object into the Accumulator
- Specified by:
step in class Accumulator
value
public Heaper value()
- Description copied from class:
Accumulator
- Return the object that results from accumulating all those objects
- Specified by:
value in class Accumulator
copy
public Accumulator copy()
- Description copied from class:
Accumulator
- Return a new Accumulator just like the current one, except that
from now on they accumulate separately
- Specified by:
copy in class Accumulator
sendSelfTo
public void sendSelfTo(Xmtr xmtr)
- Overrides:
sendSelfTo in class Heaper
Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.