static final @NonNull BaseUint16Type INSTANCE = new BaseUint16Type();
private BaseUint16Type() {
- super(BaseTypes.UINT16_QNAME, Uint16.valueOf(0), Uint16.valueOf(65535));
+ super(BaseTypes.UINT16_QNAME, Uint16.ZERO, Uint16.MAX_VALUE);
}
@Override
static final @NonNull BaseUint32Type INSTANCE = new BaseUint32Type();
private BaseUint32Type() {
- super(BaseTypes.UINT32_QNAME, Uint32.valueOf(0), Uint32.valueOf(4294967295L));
+ super(BaseTypes.UINT32_QNAME, Uint32.ZERO, Uint32.MAX_VALUE);
}
@Override
static final @NonNull BaseUint64Type INSTANCE = new BaseUint64Type();
private BaseUint64Type() {
- super(BaseTypes.UINT64_QNAME, Uint64.valueOf(0), Uint64.valueOf("18446744073709551615"));
+ super(BaseTypes.UINT64_QNAME, Uint64.ZERO, Uint64.MAX_VALUE);
}
@Override
static final @NonNull BaseUint8Type INSTANCE = new BaseUint8Type();
private BaseUint8Type() {
- super(BaseTypes.UINT8_QNAME, Uint8.valueOf(0), Uint8.valueOf(255));
+ super(BaseTypes.UINT8_QNAME, Uint8.ZERO, Uint8.MAX_VALUE);
}
@Override