public class PriorityClass extends Object implements NamedObject
Modifier and Type | Field and Description |
---|---|
static int |
ASYNCHRONOUS
this class is asynchronous
|
int |
rank
rank of this class
|
static int |
SYNCHRONOUS
this class is synchronous
|
Constructor and Description |
---|
PriorityClass() |
PriorityClass(int priority,
String name) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
getMode() |
String |
getName() |
Object |
getVal(int index) |
void |
setMode(int mode)
change the simulation mode for this class
|
void |
setName(String name)
change this class' name.
|
boolean |
setVal(int index,
Object val) |
String |
toString() |
public static final int SYNCHRONOUS
public static final int ASYNCHRONOUS
public int rank
public PriorityClass()
public PriorityClass(int priority, String name)
priority
- public void setMode(int mode)
mode
- public int getMode()
public void setName(String name)
setName
in interface NamedObject
name
- public String getName()
getName
in interface NamedObject
public Object getVal(int index)
public boolean setVal(int index, Object val)
Copyright © 2005–2020. All rights reserved.