edu.mit.jverbnet.util
Class Checks.Condition<S>

java.lang.Object
  extended by edu.mit.jverbnet.util.Checks.Condition<S>
Type Parameters:
S - the supertype of the objects dealt with by this condition
All Implemented Interfaces:
Checks.ICondition<S>
Direct Known Subclasses:
Checks.Check
Enclosing class:
Checks

public abstract static class Checks.Condition<S>
extends java.lang.Object
implements Checks.ICondition<S>

Abstract implementation of a condition.

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

Constructor Summary
Checks.Condition(boolean allowsNulls)
          Creates a new condition object
 
Method Summary
 boolean allowsNulls()
          Returns true if a null passes the condition; false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.mit.jverbnet.util.Checks.ICondition
is
 

Constructor Detail

Checks.Condition

public Checks.Condition(boolean allowsNulls)
Creates a new condition object

Parameters:
allowsNulls - the value to be returned by the allowsNulls() method
Since:
JVerbnet 1.0.0
Method Detail

allowsNulls

public boolean allowsNulls()
Description copied from interface: Checks.ICondition
Returns true if a null passes the condition; false otherwise.

Specified by:
allowsNulls in interface Checks.ICondition<S>
Returns:
true if a null passes the condition; false otherwise


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