diff options
Diffstat (limited to 'src/main/java/org/bukkit/metadata/MetadataValue.java')
-rw-r--r-- | src/main/java/org/bukkit/metadata/MetadataValue.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/metadata/MetadataValue.java b/src/main/java/org/bukkit/metadata/MetadataValue.java index deec40fb..1a7f0a46 100644 --- a/src/main/java/org/bukkit/metadata/MetadataValue.java +++ b/src/main/java/org/bukkit/metadata/MetadataValue.java @@ -13,48 +13,56 @@ public interface MetadataValue { /** * Attempts to convert the value of this metadata item into an int. + * * @return the value as an int. */ public int asInt(); /** * Attempts to convert the value of this metadata item into a float. + * * @return the value as a float. */ public float asFloat(); /** * Attempts to convert the value of this metadata item into a double. + * * @return the value as a double. */ public double asDouble(); /** * Attempts to convert the value of this metadata item into a long. + * * @return the value as a long. */ public long asLong(); /** * Attempts to convert the value of this metadata item into a short. + * * @return the value as a short. */ public short asShort(); /** * Attempts to convert the value of this metadata item into a byte. + * * @return the value as a byte. */ public byte asByte(); /** * Attempts to convert the value of this metadata item into a boolean. + * * @return the value as a boolean. */ public boolean asBoolean(); /** * Attempts to convert the value of this metadata item into a string. + * * @return the value as a string. */ public String asString(); |