Last active
May 22, 2019 12:21
-
-
Save rhusar/3959ce8c5d3e98ffe021339038dc67b8 to your computer and use it in GitHub Desktop.
asd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static final Map<Class<? extends Object>,Byte> PRIMITIVE_TYPES=new HashMap<>(15); | |
- private static final byte TYPE_NULL = 0; | |
- private static final byte TYPE_STREAMABLE = 1; | |
- private static final byte TYPE_SERIALIZABLE = 2; | |
- private static final byte TYPE_BOOLEAN = 10; | |
- private static final byte TYPE_BYTE = 11; | |
- private static final byte TYPE_CHAR = 12; | |
- private static final byte TYPE_DOUBLE = 13; | |
- private static final byte TYPE_FLOAT = 14; | |
- private static final byte TYPE_INT = 15; | |
- private static final byte TYPE_LONG = 16; | |
- private static final byte TYPE_SHORT = 17; | |
- private static final byte TYPE_STRING = 18; // ascii | |
- private static final byte TYPE_BYTEARRAY = 19; | |
- private static final byte TYPE_UTF_STRING = 21; // multibyte charset | |
- | |
- // constants | |
- public static final int MAX_PORT=65535; // highest port allocatable | |
+ private static final byte TYPE_NULL = 0; | |
+ private static final byte TYPE_STREAMABLE = 1; | |
+ private static final byte TYPE_SERIALIZABLE = 2; | |
+ private static final byte TYPE_BOOLEAN = 10; | |
+ private static final byte TYPE_BYTE = 11; | |
+ private static final byte TYPE_CHAR = 12; | |
+ private static final byte TYPE_DOUBLE = 13; | |
+ private static final byte TYPE_FLOAT = 14; | |
+ private static final byte TYPE_INT = 15; | |
+ private static final byte TYPE_LONG = 16; | |
+ private static final byte TYPE_SHORT = 17; | |
+ private static final byte TYPE_STRING = 18; // ascii | |
+ private static final byte TYPE_BYTEARRAY = 19; | |
+ private static final byte TYPE_UTF_STRING = 21; // multibyte charset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment