@Override public void upperBound(ByteType dest) { dest.set(Byte.MAX_VALUE); }
@Override public void setLong(ByteType val, long v) { if (v < Byte.MIN_VALUE) val.set(Byte.MIN_VALUE); else if (v > Byte.MAX_VALUE) val.set(Byte.MAX_VALUE); else val.set((byte) v); }
@Override public void lowerBound(ByteType dest) { dest.set(Byte.MIN_VALUE); }
@Override public long asLong(ByteType val) { return val.get(); }
@Override public double asDouble(ByteType val) { return val.get(); }
@Override public void cast(ByteType val, BigComplex dest) { dest.setReal(val.get()); dest.setImag(BigDecimal.ZERO); }
@Override public void compute(final ByteType input, final ByteType output) { output.set(input); output.inc(); }
@Override public void mutate(final ByteType arg) { arg.inc(); }