Home | History | Annotate | Download | only in cst

Lines Matching defs:string

26     /** {@code non-null;} the string value */
27 private final CstUtf8 string;
32 * @param string {@code non-null;} the string value
34 public CstString(CstUtf8 string) {
35 if (string == null) {
36 throw new NullPointerException("string == null");
39 this.string = string;
45 * @param string {@code non-null;} the string value
47 public CstString(String string) {
48 this(new CstUtf8(string));
58 return string.equals(((CstString) other).string);
64 return string.hashCode();
70 return string.compareTo(((CstString) other).string);
75 public String toString() {
76 return "string{" + toHuman() + '}';
81 return Type.STRING;
86 public String typeName() {
87 return "string";
97 public String toHuman() {
98 return string.toQuoted();
102 * Gets the string value.
104 * @return {@code non-null;} the string value
107 return string;