Order by size instead of name in DataType.

This commit is contained in:
Major-
2015-01-10 19:48:49 +00:00
parent 64fdb1dcb3
commit 49593955a1
+11 -11
View File
@@ -12,16 +12,6 @@ public enum DataType {
*/
BYTE(1),
/**
* An integer.
*/
INT(4),
/**
* A long.
*/
LONG(8),
/**
* A short.
*/
@@ -30,7 +20,17 @@ public enum DataType {
/**
* A 'tri byte' - a group of three bytes.
*/
TRI_BYTE(3);
TRI_BYTE(3),
/**
* An integer.
*/
INT(4),
/**
* A long.
*/
LONG(8);
/**
* The number of bytes this type occupies.