Lines Matching refs:value
27 /** {@code non-null;} the value {@code 0} as an instance of this class */
31 * Makes an instance for the given value. This may (but does not
34 * @param value the {@code char} value
36 public static CstChar make(char value) {
37 return new CstChar(value);
41 * Makes an instance for the given {@code int} value. This
45 * @param value the value, which must be in range for a {@code char}
48 public static CstChar make(int value) {
49 char cast = (char) value;
51 if (cast != value) {
52 throw new IllegalArgumentException("bogus char value: " +
53 value);
62 * @param value the {@code char} value
64 private CstChar(char value) {
65 super(value);
71 int value = getIntBits();
72 return "char{0x" + Hex.u2(value) + " / " + value + '}';
92 * Gets the {@code char} value.
94 * @return the value