public enum RTSJModule extends Enum<RTSJModule>
Enum Constant and Description |
---|
CONTROL
Indicates the presence of the CONTROL module.
|
CORE
Indicates the presence of the core module.
|
DEVICE
Indicates the presence of the device access module.
|
MEMORY
Indicates the presence of the alternative memory areas module.
|
POSIX
Indicates the presence of the POSIX module.
|
SCJ
Indicates the presence of the all APIs needed to implement the
SCJ.
|
Modifier and Type | Method and Description |
---|---|
boolean |
in(int value)
Given an int representing a set of enumeration elements via bit value,
sees whether or not this element is contained within that set.
|
int |
value()
Determines the numeric value of an element of this enumeration.
|
static RTSJModule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RTSJModule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RTSJModule CORE
public static final RTSJModule CONTROL
public static final RTSJModule DEVICE
public static final RTSJModule MEMORY
public static final RTSJModule POSIX
public static final RTSJModule SCJ
public static RTSJModule[] values()
for (RTSJModule c : RTSJModule.values()) System.out.println(c);
public static RTSJModule valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public int value()
public boolean in(int value)
value
- The set to test against.true
when and only when value
has the bit set
that represents this
.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.