Enum Class IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync
java.lang.Object
java.lang.Enum<IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync>
com.oracle.truffle.js.builtins.IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync
- All Implemented Interfaces:
BuiltinEnum<IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync>,Serializable,Comparable<IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync>,Constable
- Enclosing class:
IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins
public static enum IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync
extends Enum<IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync>
implements BuiltinEnum<IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.oracle.truffle.js.runtime.builtins.BuiltinEnum
args, asEnum, createNode, getECMAScriptVersion, getKey, getName, isAnnexB, isAOTSupported, isConfigurable, isConstructor, isEnabled, isEnumerable, isGetter, isNewTargetConstructor, isOptional, isSetter, isWritable, prependAccessorPrefix
-
Enum Constant Details
-
toAsync
public static final IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync toAsync
-
-
Method Details
-
values
public static IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getLength
public int getLength()- Specified by:
getLengthin interfaceBuiltinEnum<IteratorPrototypeBuiltins.IteratorPrototypeAsyncBuiltins.IteratorPrototypeAsync>
-