private final short value;
- Uint16(final short value) {
+ private Uint16(final short value) {
this.value = value;
}
protected Uint16(final Uint16 other) {
- this.value = other.value;
+ this(other.value);
}
private static Uint16 instanceFor(final short value) {
@Override
public final String toCanonicalString() {
- return String.valueOf(intValue());
+ return Integer.toString(intValue());
}
@Override
private final int value;
- Uint32(final int value) {
+ private Uint32(final int value) {
this.value = value;
}
protected Uint32(final Uint32 other) {
- this.value = other.value;
+ this(other.value);
}
private static Uint32 instanceFor(final int value) {
private final long value;
- Uint64(final long value) {
+ private Uint64(final long value) {
this.value = value;
}
protected Uint64(final Uint64 other) {
- this.value = other.value;
+ this(other.value);
}
private static Uint64 instanceFor(final long value) {
}
protected Uint8(final Uint8 other) {
- this.value = other.value;
+ this(other.value);
}
private static Uint8 instanceFor(final byte value) {
@Override
public final String toCanonicalString() {
- return String.valueOf(intValue());
+ return Integer.toString(intValue());
}
@Override