net.ontopia.utils
Class EqualsDecider<T>
java.lang.Object
net.ontopia.utils.EqualsDecider<T>
- All Implemented Interfaces:
- DeciderIF<T>
public class EqualsDecider<T>
- extends Object
- implements DeciderIF<T>
INTERNAL: Decider whether the reference object is equal the given
object. The implementation uses the Object.equals method.
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 |
refobj
protected T refobj
EqualsDecider
public EqualsDecider(T refobj)
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.