Android CharSequence Empty Check isNotEmpty(final CharSequence cs)

Here you can find the source of isNotEmpty(final CharSequence cs)

Description

is Not Empty

Declaration

public static boolean isNotEmpty(final CharSequence cs) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isNotEmpty(final CharSequence cs) {
        return !isEmpty(cs);
    }//ww w.  java  2 s .  co m

    public static boolean isEmpty(final CharSequence cs) {
        return cs == null || cs.length() == 0;
    }
}

Related

  1. isEmpty(CharSequence text)
  2. isEmpty(final CharSequence cs)
  3. isEmpty(CharSequence arg)