Android CharSequence Empty Check isEmpty(CharSequence arg)

Here you can find the source of isEmpty(CharSequence arg)

Description

is Empty

Declaration

public static boolean isEmpty(CharSequence arg) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isEmpty(CharSequence arg) {
        return arg == null || arg.length() == 0;
    }/* w  w  w  .  j a va 2 s.c om*/
}

Related

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