Class StoreAppender
java.lang.Object
|
+----StoreAppender
- class StoreAppender
- extends Object
- implements StoreIterator
A StoreIterator that adds all elements of a Store to another
Store.
Just like ModuleStoreIterator, it `disables' the methods
doAll() and action() from the interface Iterator (inherited
through StoreIterator), because they work on Objects, while
this class is designed to work only on Stores.
- Version:
- $Revision: 1.4 $
-
target
- The Store which is to receive elements.
-
StoreAppender(Store)
-
-
action(Object)
-
-
action(StoreElement)
-
-
doAll(Object)
-
-
doAll(Store)
-
-
postAction()
-
-
preAction()
-
target
private Store target
- The Store which is to receive elements.
StoreAppender
public StoreAppender(Store target)
- Parameters:
- target - the target Store (the Store which will receive the
contents of the other store.
doAll
public void doAll(Store store)
preAction
public void preAction()
action
public void action(StoreElement item)
postAction
public void postAction()
doAll
public void doAll(Object s)
action
public void action(Object e)