Package wtf.choco.arrows.api.property
Interface ArrowPropertyValue
- All Known Implementing Classes:
DynamicArrowPropertyValue
,SimpleArrowProperty
public interface ArrowPropertyValue
Represents a transformable value of an
ArrowProperty
.- Author:
- Parker Hawke - Choco
-
Method Summary
Modifier and Type Method Description boolean
getAsBoolean()
Get this value as a primitive boolean.byte
getAsByte()
Get this value as a primitive byte.double
getAsDouble()
Get this value as a primitive double.float
getAsFloat()
Get this value as a primitive float.int
getAsInt()
Get this value as a primitive int.long
getAsLong()
Get this value as a primitive long.short
getAsShort()
Get this value as a primitive short.String
getAsString()
Get this value as a String.Object
getValue()
Get this value.
-
Method Details
-
getAsInt
int getAsInt()Get this value as a primitive int.- Returns:
- an int
-
getAsFloat
float getAsFloat()Get this value as a primitive float.- Returns:
- a float
-
getAsDouble
double getAsDouble()Get this value as a primitive double.- Returns:
- a double
-
getAsLong
long getAsLong()Get this value as a primitive long.- Returns:
- a long
-
getAsShort
short getAsShort()Get this value as a primitive short.- Returns:
- a short
-
getAsByte
byte getAsByte()Get this value as a primitive byte.- Returns:
- a byte
-
getAsBoolean
boolean getAsBoolean()Get this value as a primitive boolean.- Returns:
- a boolean
-
getAsString
String getAsString()Get this value as a String.- Returns:
- a string
-
getValue
Object getValue()Get this value.- Returns:
- the value
-