public static enum Spider.Status extends Enum<Spider.Status>
Modifier and Type | Method and Description |
---|---|
static Spider.Status |
fromValue(int value) |
static Spider.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Spider.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Spider.Status Init
public static final Spider.Status Running
public static final Spider.Status Stopped
public static Spider.Status[] values()
for (Spider.Status c : Spider.Status.values()) System.out.println(c);
public static Spider.Status 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 static Spider.Status fromValue(int value)
Copyright © 2017. All rights reserved.