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 booleangetAsBoolean()Get this value as a primitive boolean.bytegetAsByte()Get this value as a primitive byte.doublegetAsDouble()Get this value as a primitive double.floatgetAsFloat()Get this value as a primitive float.intgetAsInt()Get this value as a primitive int.longgetAsLong()Get this value as a primitive long.shortgetAsShort()Get this value as a primitive short.StringgetAsString()Get this value as a String.ObjectgetValue()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
-