org.springmodules.validation.util.condition.common
Class AlwaysTrueCondition
java.lang.Object
org.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.common.AlwaysTrueCondition
- All Implemented Interfaces:
- Condition
public final class AlwaysTrueCondition
- extends AbstractCondition
An AbstractCondition
implementation that always returns true
.
- Author:
- Uri Boness
AlwaysTrueCondition
public AlwaysTrueCondition()
doCheck
public boolean doCheck(Object value)
- Always returns
true
.
- Specified by:
doCheck
in class AbstractCondition
- Parameters:
value
- The object to be checked.
- Returns:
false
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2009. All Rights Reserved.