public enum RealEventType extends Enum<RealEventType> implements IEventType
INCLOW
: lower bound increase event,DECUPP
: upper bound decrease event,BOUND
: lower bound increase and/or upper bound decrease event,ALL_EVENTS
Modifier and Type | Method and Description |
---|---|
int |
getMask()
Return the value of the mask associated with the event.
|
static boolean |
isBound(int mask) |
static boolean |
isDecupp(int mask) |
static boolean |
isInclow(int mask) |
static RealEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RealEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RealEventType VOID
public static final RealEventType INCLOW
public static final RealEventType DECUPP
public static final RealEventType BOUND
public static RealEventType[] values()
for (RealEventType c : RealEventType.values()) System.out.println(c);
public static RealEventType 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 getMask()
IEventType
getMask
in interface IEventType
public static boolean isBound(int mask)
public static boolean isInclow(int mask)
public static boolean isDecupp(int mask)
Copyright © 2018. All rights reserved.