mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-15 18:53:43 +07:00
19 lines
855 B
Java
19 lines
855 B
Java
public class ClassWithConstants {
|
|
public static final int INT_CONST1 = 1;
|
|
public static final int INT_CONST2 = -1;
|
|
public static final int INT_CONST3 = -2147483648;
|
|
public static final long LONG_CONST1 = 2;
|
|
public static final long LONG_CONST2 = 1000000000000L;
|
|
public static final long LONG_CONST3 = -9223372036854775808L;
|
|
public static final short SHORT_CONST = 3;
|
|
public static final byte BYTE_CONST = 4;
|
|
public static final char CHAR_CONST = '5';
|
|
public static final boolean BOOL_CONST = true;
|
|
public static final float FLOAT_CONST = 1.234f;
|
|
public static final double DOUBLE_CONST = 3.456;
|
|
public static final java.lang.String STRING_CONST = "a\r\n\"bcd";
|
|
|
|
public static final double d1 = Double.POSITIVE_INFINITY;
|
|
public static final double d2 = Double.NEGATIVE_INFINITY;
|
|
public static final double d3 = Double.NaN;
|
|
} |