net.ontopia.utils
Class EqualsDecider<T>

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

public class EqualsDecider<T>
extends java.lang.Object
implements DeciderIF<T>

INTERNAL: Decider whether the reference object is equal the given object. The implementation uses the Object.equals method.


Field Summary
protected  T refobj
           
 
Constructor Summary
EqualsDecider(T refobj)
           
 
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

refobj

protected T refobj
Constructor Detail

EqualsDecider

public EqualsDecider(T refobj)
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.