public enum MessageStatus extends Enum<MessageStatus>
Copyright (c) 2016-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See Sim0MQ License.
Enum Constant and Description |
---|
CHANGE
message status CHANGE.
|
DELETE
message status DELETE.
|
NEW
message status NEW.
|
Modifier and Type | Method and Description |
---|---|
byte |
getStatus() |
static org.djutils.immutablecollections.ImmutableHashMap<Integer,MessageStatus> |
getTypes()
make the types after initialization.
|
static MessageStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageStatus NEW
public static final MessageStatus CHANGE
public static final MessageStatus DELETE
public static MessageStatus[] values()
for (MessageStatus c : MessageStatus.values()) System.out.println(c);
public static MessageStatus 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 final byte getStatus()
public static org.djutils.immutablecollections.ImmutableHashMap<Integer,MessageStatus> getTypes()
Copyright © 2016–2019 Delft University of Technology. All rights reserved.