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 short} value
37 public static CstShort make(short value) {
38 return new CstShort(value);
42 * Makes an instance for the given {@code int} value. This
46 * @param value the value, which must be in range for a {@code short}
49 public static CstShort make(int value) {
50 short cast = (short) value;
52 if (cast != value) {
53 throw new IllegalArgumentException("bogus short value: " +
54 value);
63 * @param value the {@code short} value
65 private CstShort(short value) {
66 super(value);
72 int value = getIntBits();
73 return "short{0x" + Hex.u2(value) + " / " + value + '}';
93 * Gets the {@code short} value.
95 * @return the value