All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.objectify.condition.IfEmptyString Maven / Gradle / Ivy

Go to download

*** 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 an empty string. * Note that a null string still returns false.

* * @author Jeff Schnitzer */ public class IfEmptyString extends ValueIf { @Override public boolean matches(String value) { return value != null && value.isEmpty(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy