/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ private UByte(int value) throws NumberFormatException { this.value = rangeCheck(value); }
/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ private UByte(short value) throws NumberFormatException { this.value = rangeCheck(value); }
/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ private UByte(long value) throws NumberFormatException { this.value = rangeCheck(value); }
/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ private UByte(long value) throws NumberFormatException { this.value = rangeCheck(value); }
/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ private UByte(int value) throws NumberFormatException { this.value = rangeCheck(value); }
/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ private UByte(short value) throws NumberFormatException { this.value = rangeCheck(value); }
/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> does not contain a * parsable <code>unsigned byte</code>. */ private UByte(String value) throws NumberFormatException { this.value = rangeCheck(Short.parseShort(value)); }
/** * Create an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> does not contain a * parsable <code>unsigned byte</code>. */ private UByte(String value) throws NumberFormatException { this.value = rangeCheck(Short.parseShort(value)); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ public static UByte valueOf(short value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(value)); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ public static UByte valueOf(long value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(value)); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ public static UByte valueOf(long value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(value)); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ public static UByte valueOf(short value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(value)); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> does not contain a * parsable <code>unsigned byte</code>. */ public static UByte valueOf(String value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(Short.parseShort(value))); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ public static UByte valueOf(int value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(value)); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> is not in the range * of an <code>unsigned byte</code> */ public static UByte valueOf(int value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(value)); }
/** * Get an instance of an <code>unsigned byte</code> * * @throws NumberFormatException If <code>value</code> does not contain a * parsable <code>unsigned byte</code>. */ public static UByte valueOf(String value) throws NumberFormatException { return valueOfUnchecked(rangeCheck(Short.parseShort(value))); }