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

com.googlecode.objectify.condition.IfNotEmpty 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;



/**
 * 

Satisfies the opposite of IfEmpty - returns true if the value * is not null and not an empty String, Collection, or Map.

* * @author Jeff Schnitzer */ public class IfNotEmpty extends ValueIf { IfEmpty opposite = new IfEmpty(); @Override public boolean matches(Object value) { return !opposite.matches(value); } }