Android CharSequence Empty Check isEmpty(final CharSequence cs)

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

Description

is Empty

Declaration

public static boolean isEmpty(final CharSequence cs) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isEmpty(final CharSequence cs) {
        return cs == null || cs.length() == 0;
    }/*from w  ww  .  j av  a 2  s .  co  m*/
}

Related

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