Here you can find the source of isEmpty(String str)
Parameter | Description |
---|---|
str | a parameter |
public static boolean isEmpty(String str)
//package com.java2s; public class Main { /**//from w ww. j a v a2s .co m * * @Description: * @param str * @return * @see: * @since: * @author: huangyx2 * @date:2013-7-24 */ public static boolean isEmpty(String str) { return str == null || str.length() == 0; } }