org.jnbt
Class LongTag
java.lang.Object
org.jnbt.Tag
org.jnbt.LongTag
public final class LongTag
- extends Tag
The TAG_Long
tag.
- Author:
- Graham Edgecombe
Constructor Summary |
LongTag(String name,
long value)
Creates the tag. |
LongTag
public LongTag(String name,
long value)
- Creates the tag.
- Parameters:
name
- The name.value
- The value.
getValue
public Long getValue()
- Description copied from class:
Tag
- Gets the value of this tag.
- Specified by:
getValue
in class Tag
- Returns:
- The value of this tag.
toString
public String toString()
- Overrides:
toString
in class Object