Skip to main content

ValueObject

Complete API reference for ValueObject, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Uncategorized

Component: no


public class ValueObject

Constructors

SignatureDescription
ValueObject()Creates a new instance of ValueObject.
ValueObject(LuaValue)Creates a new instance of ValueObject.

Methods

SignatureReturnsDescription
getCriticalValue()LuaValueReturns the current critical value.
typename()StringExecutes typename and returns after the underlying engine call finishes.
get(String)ValueObjectReturns the current value.
put(String, ValueObject)voidSets or updates the the value.
put(String, Object)voidSets or updates the the value.
toJava(Class)ObjectPerforms the toJava operation using the provided parameters (var1).
toBoolean()booleanExecutes toBoolean and returns after the underlying engine call finishes.
toByte()byteExecutes toByte and returns after the underlying engine call finishes.
toChar()charExecutes toChar and returns after the underlying engine call finishes.
toShort()shortExecutes toShort and returns after the underlying engine call finishes.
toInt()intExecutes toInt and returns after the underlying engine call finishes.
toLong()longExecutes toLong and returns after the underlying engine call finishes.
toFloat()floatExecutes toFloat and returns after the underlying engine call finishes.
toDouble()doubleExecutes toDouble and returns after the underlying engine call finishes.
equals(Object)booleanCompares this instance with another for equality/order.
toString()StringReturns the string representation.
hashCode()intReturns whether code is true.
getObjectCritical()LuaValueReturns the current object critical.