|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectLGrid
public class LGrid
The Class LGrid that holds a grid of semaphores.
| Constructor Summary | |
|---|---|
LGrid(int size)
Instantiates a new looper grid. |
|
| Method Summary | |
|---|---|
LSemaphore |
get(int i,
int j)
Gets the semaphore on the given spot. |
int |
length()
The length of the grid. |
void |
printTest()
Prints the test. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LGrid(int size)
size - the size| Method Detail |
|---|
public LSemaphore get(int i,
int j)
i - the ij - the j
public int length()
public void printTest()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||