Uses of Class
java.lang.invoke.VarHandle
-
Packages that use VarHandle Package Description java.lang.invoke Thejava.lang.invokepackage contains dynamic language support provided directly by the Java core class libraries and virtual machine. -
-
Uses of VarHandle in java.lang.invoke
Methods in java.lang.invoke that return VarHandle Modifier and Type Method Description static VarHandleMethodHandles. arrayElementVarHandle(Class<?> arrayClass)Produces a VarHandle giving access to elements of an array of typearrayClass.static VarHandleMethodHandles. byteArrayViewVarHandle(Class<?> viewArrayClass, ByteOrder byteOrder)Produces a VarHandle giving access to elements of abyte[]array viewed as if it were a different primitive array type, such asint[]orlong[].static VarHandleMethodHandles. byteBufferViewVarHandle(Class<?> viewArrayClass, ByteOrder byteOrder)Produces a VarHandle giving access to elements of aByteBufferviewed as if it were an array of elements of a different primitive component type to that ofbyte, such asint[]orlong[].VarHandleMethodHandles.Lookup. findStaticVarHandle(Class<?> decl, String name, Class<?> type)Produces a VarHandle giving access to a static fieldnameof typetypedeclared in a class of typedecl.VarHandleMethodHandles.Lookup. findVarHandle(Class<?> recv, String name, Class<?> type)Produces a VarHandle giving access to a non-static fieldnameof typetypedeclared in a class of typerecv.VarHandleMethodHandles.Lookup. unreflectVarHandle(Field f)Produces a VarHandle giving access to a reflected fieldfof typeTdeclared in a class of typeR.
-