T - type of the componentprivate static class PayloadSerializer.Helper<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<T> |
cls
class of the component
|
protected short |
typeCode
type code
|
| Constructor and Description |
|---|
Helper(short typeCode,
java.lang.Class<T> cls)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<T> |
getCls()
Get class of the component
|
short |
getTypeCode()
Get typecode
|
protected final short typeCode
protected final java.lang.Class<T> cls
public Helper(short typeCode,
java.lang.Class<T> cls)
typeCode - type codecls - class of the componentpublic short getTypeCode()
public java.lang.Class<T> getCls()