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

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

The newest version!
package com.bluecatcode.common.functions;

/**
 * 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