Modifier and Type | Method and Description |
---|---|
Peripheral |
Processor.getPeripheral(int pos)
getPeripheral: return the peripheral in specified position
|
Peripheral |
Processor.getPeripheral(java.lang.String name)
getPeripheral: return the peripheral with specified name.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Peripheral> |
Processor.getlistPeripherals()
getlistPeripherals: return the list of peripherals of this processor
|
Modifier and Type | Method and Description |
---|---|
void |
Processor.addPeripheral(Peripheral peripheral)
addPeripheral: add a peripheral to this processor.
|
void |
Processor.updatePeripheral(Peripheral peripheral,
int pos)
updatePeripheral: update the peripheral in specified position
|
Modifier and Type | Method and Description |
---|---|
void |
Processor.setListPeripherals(java.util.ArrayList<Peripheral> listPeripherals)
setListPeripherals: set the list of peripherals of this processor
|