Package Summary  Overview Summary

class:VarHandle.AccessMode [NONE]

field:GET [NONE]

field:SET [NONE]

field:GET_VOLATILE [NONE]

field:SET_VOLATILE [NONE]

field:GET_ACQUIRE [NONE]

field:SET_RELEASE [NONE]

field:GET_OPAQUE [NONE]

field:SET_OPAQUE [NONE]

field:COMPARE_AND_SET [NONE]

field:COMPARE_AND_EXCHANGE [NONE]

field:COMPARE_AND_EXCHANGE_ACQUIRE [NONE]

field:COMPARE_AND_EXCHANGE_RELEASE [NONE]

field:WEAK_COMPARE_AND_SET_PLAIN [NONE]

field:WEAK_COMPARE_AND_SET [NONE]

field:WEAK_COMPARE_AND_SET_ACQUIRE [NONE]

field:WEAK_COMPARE_AND_SET_RELEASE [NONE]

field:GET_AND_SET [NONE]

field:GET_AND_SET_ACQUIRE [NONE]

field:GET_AND_SET_RELEASE [NONE]

field:GET_AND_ADD [NONE]

field:GET_AND_ADD_ACQUIRE [NONE]

field:GET_AND_ADD_RELEASE [NONE]

field:GET_AND_BITWISE_OR [NONE]

field:GET_AND_BITWISE_OR_RELEASE [NONE]

field:GET_AND_BITWISE_OR_ACQUIRE [NONE]

field:GET_AND_BITWISE_AND [NONE]

field:GET_AND_BITWISE_AND_RELEASE [NONE]

field:GET_AND_BITWISE_AND_ACQUIRE [NONE]

field:GET_AND_BITWISE_XOR [NONE]

field:GET_AND_BITWISE_XOR_RELEASE [NONE]

field:GET_AND_BITWISE_XOR_ACQUIRE [NONE]

method:values() [NONE]

  • values

    public static VarHandle.AccessMode[] values()
    Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
    for (VarHandle.AccessMode c : VarHandle.AccessMode.values())
        System.out.println(c);
    
    Returns:
    an array containing the constants of this enum type, in the order they are declared

method:valueOf(java.lang.String) [NONE]

  • valueOf

    public static VarHandle.AccessMode valueOf​(String name)
    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
    Parameters:
    name - the name of the enum constant to be returned.
    Returns:
    the enum constant with the specified name
    Throws:
    IllegalArgumentException - if this enum type has no constant with the specified name
    NullPointerException - if the argument is null

method:methodName() [NONE]

  • methodName

    public String methodName()
    Returns the VarHandle signature-polymorphic method name associated with this AccessMode value.
    Returns:
    the signature-polymorphic method name
    See Also:
    valueFromMethodName(java.lang.String)

method:valueFromMethodName(java.lang.String) [NONE]

  • valueFromMethodName

    public static VarHandle.AccessMode valueFromMethodName​(String methodName)
    Returns the AccessMode value associated with the specified VarHandle signature-polymorphic method name.
    Parameters:
    methodName - the signature-polymorphic method name
    Returns:
    the AccessMode value
    Throws:
    IllegalArgumentException - if there is no AccessMode value associated with method name (indicating the method name does not correspond to a VarHandle signature-polymorphic method name).
    See Also:
    methodName()

© 2018 Oracle Corporation and/or its affiliates