net.ontopia.utils
Class GrabberDecider<T,G>

java.lang.Object
  extended by net.ontopia.utils.GrabberDecider<T,G>
All Implemented Interfaces:
DeciderIF<T>

public class GrabberDecider<T,G>
extends java.lang.Object
implements DeciderIF<T>

INTERNAL: Decider that grabs an object and passes it to the subdecider.


Field Summary
protected  DeciderIF<G> decider
           
protected  GrabberIF<T,G> grabber
           
 
Constructor Summary
GrabberDecider(GrabberIF<T,G> grabber, DeciderIF<G> decider)
           
 
Method Summary
 boolean ok(T object)
          PUBLIC: Returns true if the object is accepted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grabber

protected GrabberIF<T,G> grabber

decider

protected DeciderIF<G> decider
Constructor Detail

GrabberDecider

public GrabberDecider(GrabberIF<T,G> grabber,
                      DeciderIF<G> decider)
Method Detail

ok

public boolean ok(T object)
Description copied from interface: DeciderIF
PUBLIC: Returns true if the object is accepted.

Specified by:
ok in interface DeciderIF<T>


Copyright © 2000-2012 Ontopia.