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

com.bluecatcode.common.base.IsEmpty Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package com.bluecatcode.common.base;

/**
 * Single Method Interface for objects with capability of being empty
 */
public interface IsEmpty {

    /**
     * Returns true if object is "empty", it can be any of:
     * 
    *
  • object is null *
  • object's length or size is 0 *
  • object is "empty", as in it doesn't contain any useful data *
* * @return true if object is empty, otherwise false */ boolean isEmpty(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy