Home | History | Annotate | Download | only in util

Lines Matching refs:Byte

115         } else if ("byte".equals(typeName)) {
268 if (value < Byte.MIN_VALUE || value > Byte.MAX_VALUE) {
271 return new Byte((byte)value);
368 * &lt;type&gt; is one of {boolean, byte, short, int, long,
377 * <li> byte, short, int, long: a valid Java integer constant
446 * Returns the value of a byte property, or the default if the property
452 * @throws TypeException if the property is set and is not a byte
454 public byte getByte(String property, byte def) {
459 if (value instanceof Byte) {
460 return ((Byte)value).byteValue();
462 throw new TypeException(property, value, "byte");
604 * Returns the value of a byte property, or 0
609 * @throws TypeException if the property is set and is not a byte
611 public byte getByte(String property) {
612 return getByte(property, (byte)0);