Android String Empty Check isEmpty(String value)

Here you can find the source of isEmpty(String value)

Description

is Empty

Declaration

public static boolean isEmpty(String value) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isEmpty(String value) {
        return (value == null || value.trim().length() == 0);
    }/*  www. j a  v a 2 s  .  co  m*/
}

Related

  1. isBlank(String text)
  2. isEmpty(String input)
  3. isNullOrEmpty(String str)
  4. isEmpty(final String value)
  5. isEmpty(String s)
  6. isNotEmpty(String value)
  7. isEmptyOrNull(String string)
  8. isEmpty(String input)
  9. isNotEmpty(String s)