net.ontopia.utils
Class GrabberDecider<T,G>
java.lang.Object
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.
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 |
grabber
protected GrabberIF<T,G> grabber
decider
protected DeciderIF<G> decider
GrabberDecider
public GrabberDecider(GrabberIF<T,G> grabber,
DeciderIF<G> decider)
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.