|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--arche.Storage
|
+--arche.Queue
Queue as a structural element for processors. There is no error checking, you can read more than you actually have put. Of course the values will be periodical.
| Field Summary | |
private byte |
p1
The pointers. |
private byte |
p2
The pointers. |
private short[] |
queue
|
private byte |
size
|
| Constructor Summary | |
Queue(int size_)
|
|
| Method Summary | |
void |
clear()
|
int |
getSize()
Returns the number of cells inside the storage. |
short |
read()
|
void |
write(short newvalue)
Sets the content to a new value. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private byte size
private short[] queue
private byte p1
private byte p2
| Constructor Detail |
public Queue(int size_)
| Method Detail |
public int getSize()
StoragegetSize in class Storagepublic short read()
read in class Storagepublic void write(short newvalue)
write in class Storagepublic void clear()
clear in class Storage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||