public final class PartBoolean extends BasicDataPart<java.lang.Boolean>
| Modifier and Type | Field and Description |
|---|---|
static IPartFactory<PartBoolean> |
FACTORY |
data| Constructor and Description |
|---|
PartBoolean(java.lang.Boolean data) |
| Modifier and Type | Method and Description |
|---|---|
IPartFactory |
getFactory() |
com.google.gson.JsonElement |
write() |
void |
write(java.io.DataOutput stream) |
equals, get, hashCode, toStringpublic static final IPartFactory<PartBoolean> FACTORY
public void write(java.io.DataOutput stream)
throws java.lang.Exception
public com.google.gson.JsonElement write()
public IPartFactory getFactory()
getFactory in class DataPart<java.lang.Boolean>