Here you can find the source of assertObjectEmpty(Object value)
public static boolean assertObjectEmpty(Object value)
//package com.java2s; //License from project: Apache License public class Main { public static boolean assertObjectEmpty(Object value) { return value != null; }//from ww w . j av a 2 s .c o m public static boolean assertObjectEmpty(String value) { return value != null && value.isEmpty(); } public static boolean assertObjectEmpty(int value) { return value != 0; } public static boolean assertObjectEmpty(Integer value) { return value != null && value != 0; } public static boolean assertObjectEmpty(long value) { return value != 0; } public static boolean assertObjectEmpty(Long value) { return value != null && value != 0; } public static boolean assertObjectEmpty(short value) { return value != 0; } public static boolean assertObjectEmpty(Short value) { return value != null && value != 0; } public static boolean assertObjectEmpty(double value) { return value != 0; } public static boolean assertObjectEmpty(Double value) { return value != null && value != 0; } }