public class TypeMap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
_check_no_locking |
static short |
C1NCHUNK |
static short |
ESPCGROUP |
static short |
FRAME |
static short |
H2OCC |
static short |
ICED |
static short |
NULL |
static short |
PRIM_B |
static short |
VECGROUP |
Constructor and Description |
---|
TypeMap() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
className(int id) |
static Icer |
getIcer(Freezable ice) |
static Freezable |
getTheFreezableOrThrow(int id) |
static Freezable |
newFreezable(int id)
Create a new freezable object based on its unique ID.
|
static Freezable |
newFreezable(java.lang.String className)
Create a new freezable object based on its className.
|
static int |
onIce(java.lang.String className) |
static Freezable |
theFreezable(int id)
The single golden instance of an Iced, used for cloning and instanceof
tests, do-not-modify since it's The Golden Instance and shared.
|
public static final short NULL
public static final short PRIM_B
public static final short ICED
public static final short H2OCC
public static final short C1NCHUNK
public static final short FRAME
public static final short VECGROUP
public static final short ESPCGROUP
public static volatile boolean _check_no_locking
public static int onIce(java.lang.String className)
public static java.lang.String className(int id)
public static Freezable newFreezable(int id)
id
- freezable unique id (provided by TypeMap)public static Freezable newFreezable(java.lang.String className)
className
- class namepublic static Freezable theFreezable(int id)
public static Freezable getTheFreezableOrThrow(int id) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException