@FunctionalInterface @Deprecated public interface ProxyPrimitive extends Proxy
computed lazily when accessed by the guest language. Valid primitive
values are String, Byte, Character, Short, Integer,
Long, Float and Double.ProxyPrimitive.asPrimitive(),
Proxy| Modifier and Type | Method and Description |
|---|---|
Object |
asPrimitive()
Deprecated.
Unboxes the proxy to a primitive value.
|
Object asPrimitive()
computed lazily when accessed by the guest language. Valid primitive values are
String, Byte, Character, Short, Integer, Long
, Float and Double. If the returned type is invalid then a
IllegalStateException host exception is
thrown to the guest language.