@InterfaceAudience.Private public static enum ReaderContext.ReaderType extends Enum<ReaderContext.ReaderType>
Modifier and Type | Method and Description |
---|---|
static ReaderContext.ReaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReaderContext.ReaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReaderContext.ReaderType PREAD
public static final ReaderContext.ReaderType STREAM
public static ReaderContext.ReaderType[] values()
for (ReaderContext.ReaderType c : ReaderContext.ReaderType.values()) System.out.println(c);
public static ReaderContext.ReaderType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.