8182838485868788
return value; } @Override public byte asByte() throws MessageOverflowException { if(!isValidByte()) throw new MessageFloatOverflowException(value); return (byte) value; }
8788899091929394
return (byte) value; } @Override public short asShort() throws MessageOverflowException { if(!isValidShort()) throw new MessageFloatOverflowException(value); return (short) value; }
93949596979899100
return (short) value; } @Override public int asInt() throws MessageOverflowException { if(!isValidInt()) throw new MessageFloatOverflowException(value); return (int) value; }
99100101102103104105106
return (int) value; } @Override public long asLong() throws MessageOverflowException { if(!isValidLong()) throw new MessageFloatOverflowException(value); return (long) value; }
105106107108109110111112
return (long) value; } @Override public BigInteger asBigInteger() throws MessageOverflowException { if(!isWhole()) throw new MessageFloatOverflowException(value); return new BigDecimal(value).toBigInteger(); }