public static enum MsgRepository.MSG_TYPES extends Enum<MsgRepository.MSG_TYPES>
Modifier and Type | Method and Description |
---|---|
static MsgRepository.MSG_TYPES |
getFromInt(int type) |
int |
getNumVal() |
static MsgRepository.MSG_TYPES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MsgRepository.MSG_TYPES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsgRepository.MSG_TYPES none
public static final MsgRepository.MSG_TYPES message
public static final MsgRepository.MSG_TYPES presence
public static MsgRepository.MSG_TYPES[] values()
for (MsgRepository.MSG_TYPES c : MsgRepository.MSG_TYPES.values()) System.out.println(c);
public static MsgRepository.MSG_TYPES 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 getNumVal()
public static MsgRepository.MSG_TYPES getFromInt(int type)
Copyright © 2019 "Tigase, Inc.". All rights reserved.