public enum Imports extends Enum<Imports>
Enum Constant and Description |
---|
EXCLUDED
imports are excluded
|
INCLUDED
imports are included
|
Modifier and Type | Method and Description |
---|---|
static Imports |
fromBoolean(boolean b)
Transform a boolean arg in an Imports arg.
|
static Imports |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Imports[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Imports INCLUDED
public static final Imports EXCLUDED
public static Imports[] values()
for (Imports c : Imports.values()) System.out.println(c);
public static Imports 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 © 2020 The University of Manchester. All rights reserved.