mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
Added missing MIX/MAX_VALUE for basic types.
This commit is contained in:
parent
0b89357968
commit
0ec230497b
@ -13,6 +13,9 @@ package java.lang;
|
||||
public final class Byte extends Number implements Comparable<Byte> {
|
||||
public static final Class TYPE = avian.Classes.forCanonicalName("B");
|
||||
|
||||
public static final byte MIN_VALUE = -128;
|
||||
public static final byte MAX_VALUE = 127;
|
||||
|
||||
private final byte value;
|
||||
|
||||
public Byte(byte value) {
|
||||
|
@ -17,6 +17,9 @@ public final class Double extends Number {
|
||||
public static final double POSITIVE_INFINITY = 1.0 / 0.0;
|
||||
public static final double NaN = 0.0 / 0.0;
|
||||
|
||||
public static final double MIN_VALUE = 2.22507385850720138309e-308;
|
||||
public static final double MAX_VALUE = 1.79769313486231570815e+308;
|
||||
|
||||
private final double value;
|
||||
|
||||
public Double(String value) {
|
||||
|
@ -18,7 +18,10 @@ public final class Float extends Number {
|
||||
public static final float NEGATIVE_INFINITY = -1.0f / 0.0f;
|
||||
public static final float POSITIVE_INFINITY = 1.0f / 0.0f;
|
||||
public static final float NaN = 0.0f / 0.0f;
|
||||
|
||||
|
||||
public static final float MIN_VALUE = 1.17549435082228750797e-38f;
|
||||
public static final float MAX_VALUE = 3.40282346638528859812e+38f;
|
||||
|
||||
private final float value;
|
||||
|
||||
public Float(String value) {
|
||||
|
@ -12,6 +12,8 @@ package java.lang;
|
||||
|
||||
public final class Short extends Number implements Comparable<Short> {
|
||||
public static final Class TYPE = avian.Classes.forCanonicalName("S");
|
||||
|
||||
public static final short MIN_VALUE = -32768;
|
||||
public static final short MAX_VALUE = 32767;
|
||||
|
||||
private final short value;
|
||||
|
Loading…
Reference in New Issue
Block a user