public static enum CdcrParams.BufferState extends Enum<CdcrParams.BufferState>
Modifier and Type | Method and Description |
---|---|
static CdcrParams.BufferState |
get(byte[] state) |
byte[] |
getBytes() |
static String |
getParam() |
String |
toLower() |
static CdcrParams.BufferState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdcrParams.BufferState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdcrParams.BufferState ENABLED
public static final CdcrParams.BufferState DISABLED
public static CdcrParams.BufferState[] values()
for (CdcrParams.BufferState c : CdcrParams.BufferState.values()) System.out.println(c);
public static CdcrParams.BufferState 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 CdcrParams.BufferState get(byte[] state)
public String toLower()
public byte[] getBytes()
public static String getParam()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.