public static enum Source.CopiesString extends Enum<Source.CopiesString>
Enum Constant and Description |
---|
COPIES_STRING |
DONT_COPY |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
Source.CopiesString |
intern() |
String |
toString() |
static Source.CopiesString |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Source.CopiesString[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Source.CopiesString COPIES_STRING
public static final Source.CopiesString DONT_COPY
public static Source.CopiesString[] values()
for (Source.CopiesString c : Source.CopiesString.values()) System.out.println(c);
public static Source.CopiesString 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 nullpublic Source.CopiesString intern()
public String toString()
toString
in class Enum<Source.CopiesString>
Copyright © 2024. All rights reserved.