edu.mit.jverbnet.util
Interface Checks.ICondition<S>

Type Parameters:
S - the superclass of the objects dealt with by this condition
All Known Subinterfaces:
Checks.ICheck<S>, Checks.IMask<S>
All Known Implementing Classes:
Checks.Check, Checks.Condition, Checks.Mask
Enclosing class:
Checks

public static interface Checks.ICondition<S>

A condition object defines a boolean condition over a set of objects.

Since:
JVerbnet 1.0.0
Version:
1.0.0
Author:
Mark A. Finlayson

Method Summary
 boolean allowsNulls()
          Returns true if a null passes the condition; false otherwise.
<T extends S>
boolean
is(T value)
          Returns true if the value satisfies the condition; false otherwise.
 

Method Detail

is

<T extends S> boolean is(T value)
Returns true if the value satisfies the condition; false otherwise.

Parameters:
value - the value to be tested
Returns:
true if the value passes the condition; false otherwise
Since:
JVerbnet 1.0.0

allowsNulls

boolean allowsNulls()
Returns true if a null passes the condition; false otherwise.

Returns:
true if a null passes the condition; false otherwise
Since:
JVerbnet 1.0.0


Copyright © 2012 ${project.organization.name}. All Rights Reserved.