net.ontopia.utils
Class ContainmentDecider<T>
java.lang.Object
net.ontopia.utils.ContainmentDecider<T>
- All Implemented Interfaces:
- DeciderIF<T>
public class ContainmentDecider<T>
- extends Object
- implements DeciderIF<T>
INTERNAL: Decider that returns true if the object is contained in
the referenced collection.
- Since:
- 4.0
Method Summary |
boolean |
ok(T o)
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 |
ContainmentDecider
public ContainmentDecider(Collection<T> objects)
ok
public boolean ok(T o)
- Description copied from interface:
DeciderIF
- PUBLIC: Returns true if the object is accepted.
- Specified by:
ok
in interface DeciderIF<T>
Copyright © 2000-2012 Ontopia.