com.googlecode.objectify.condition.IfFalse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of objectify Show documentation
Show all versions of objectify Show documentation
*** THIS VERSION UPLOADED FOR USE WITH CEDAR-COMMON, TO AVOID DEPENDENCIES ON GOOGLE CODE-BASED MAVEN REPOSITORIES. *** The simplest convenient interface to the Google App Engine datastore
The newest version!
package com.googlecode.objectify.condition;
/**
* Simple If condition that returns true if the value is a boolean false. Note
* that a null is still false.
*
* @author Jeff Schnitzer
*/
public class IfFalse extends ValueIf
{
@Override
public boolean matches(Boolean value)
{
return value != null && !value;
}
}