is Space Char for ascii and unicode - Android java.lang

Android examples for java.lang:Character

Description

is Space Char for ascii and unicode

Demo Code

import android.graphics.Paint;
import android.text.TextPaint;
import android.text.TextUtils;
import android.widget.TextView;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Main{


    private static boolean isSpaceChar(char ch) {
        return ch == 32 || ch == 12288 || ch == 160 || ch == 9;
    }//  w w w  . j ava 2  s  .  c o  m

}

Related Tutorials