public final class ByteTag extends Tag<Byte>
TAG_Byte tag.| Constructor and Description |
|---|
ByteTag(String name,
boolean value)
Creates the tag.
Boolean true is stored as 1 and boolean false is stored as 0. |
ByteTag(String name,
byte value)
Creates the tag.
|
| Modifier and Type | Method and Description |
|---|---|
ByteTag |
clone()
Clones the Tag
|
boolean |
getBooleanValue() |
static Boolean |
getBooleanValue(Tag<?> t) |
Byte |
getValue()
Gets the value of this tag.
|
String |
toString() |
public ByteTag(String name, boolean value)
name - The name.value - The value.public ByteTag(String name, byte value)
name - The name.value - The value.Copyright © 2011–2014 Flow Powered. All rights reserved.