public class JsonBall extends Object implements Comparable<String>, CharSequence
Modifier and Type | Field and Description |
---|---|
static Pattern |
JSON_BOOLEAN_PATTERN |
static Pattern |
JSON_NUMBER_PATTERN |
static Pattern |
JSON_STRING_PATTERN |
Constructor and Description |
---|
JsonBall(boolean value) |
JsonBall(double value) |
JsonBall(int value) |
JsonBall(long value) |
JsonBall(String value) |
public static final Pattern JSON_STRING_PATTERN
public static final Pattern JSON_NUMBER_PATTERN
public static final Pattern JSON_BOOLEAN_PATTERN
public JsonBall(double value)
public JsonBall(int value)
public JsonBall(long value)
public JsonBall(boolean value)
public JsonBall(String value)
public String toString()
toString
in interface CharSequence
toString
in class Object
public char charAt(int index)
charAt
in interface CharSequence
public int length()
length
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public int compareTo(String o)
compareTo
in interface Comparable<String>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.