public abstract class Struct extends Object implements Encodable
Constructor and Description |
---|
Struct() |
Modifier and Type | Method and Description |
---|---|
static Struct |
create(int type) |
int |
getEncodedType() |
abstract Map<String,Object> |
getFields() |
abstract int |
getPackWidth() |
abstract int |
getSizeWidth() |
abstract int |
getStructType() |
boolean |
isDirty() |
abstract void |
read(Decoder dec)
Decodes this encodable using the given decoder.
|
void |
setDirty(boolean dirty) |
String |
toString() |
abstract void |
write(Encoder enc)
Encodes this encodable using the given encoder.
|
public static Struct create(int type)
public boolean isDirty()
public void setDirty(boolean dirty)
public abstract int getStructType()
public abstract int getSizeWidth()
public abstract int getPackWidth()
public final int getEncodedType()
public abstract void read(Decoder dec)
Encodable
public abstract void write(Encoder enc)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.