public enum CmdArgValueType extends Enum<CmdArgValueType> implements INumberEnum<Integer>
Enum Constant and Description |
---|
Int |
NoteId |
String |
StringList |
UNID |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Integer |
getValue() |
static CmdArgValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CmdArgValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmdArgValueType String
public static final CmdArgValueType Int
public static final CmdArgValueType NoteId
public static final CmdArgValueType UNID
public static final CmdArgValueType StringList
public static CmdArgValueType[] values()
for (CmdArgValueType c : CmdArgValueType.values()) System.out.println(c);
public static CmdArgValueType 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 Integer getValue()
getValue
in interface INumberEnum<Integer>
public long getLongValue()
getLongValue
in interface INumberEnum<Integer>
long
Copyright © 2014–2018. All rights reserved.