Serializable
, Comparable<IoRetryCount>
public enum IoRetryCount extends Enum<IoRetryCount>
IoRetryCount
defined values used inside a control flow.Modifier and Type | Method | Description |
---|---|---|
int |
getNumber() |
Gets the number.
|
static IoRetryCount |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static IoRetryCount[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IoRetryCount MIN
public static final IoRetryCount NORM
public static final IoRetryCount MAX
public static IoRetryCount[] values()
for (IoRetryCount c : IoRetryCount.values()) System.out.println(c);
public static IoRetryCount 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 int getNumber()
Copyright © 2018. All rights reserved.