Android String Empty Check isNotEmpty(String value)

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


is Not Empty


public static boolean isNotEmpty(String value) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isNotEmpty(String value) {
        return (!isEmpty(value));
    }/*from  w  ww.  j  a v a  2 s.  c o  m*/

    public static boolean isEmpty(String value) {
        return (value == null || value.trim().length() == 0);


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