org.databene.commons.condition
Class EqualsCondition<E>

java.lang.Object
  extended by org.databene.commons.condition.EqualsCondition<E>
All Implemented Interfaces:
Condition<E>

public class EqualsCondition<E>
extends java.lang.Object
implements Condition<E>

Condition that requires to be the checked argument to be equal to a prototype.

Created: 16.06.2007 12:46:03

Author:
Volker Bergmann

Constructor Summary
EqualsCondition(E reference)
           
 
Method Summary
 boolean evaluate(E argument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualsCondition

public EqualsCondition(E reference)
Method Detail

evaluate

public boolean evaluate(E argument)
Specified by:
evaluate in interface Condition<E>


Copyright © 2010. All Rights Reserved.