|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvishnu.patterns.Pool<T>
public class Pool<T>

| Constructor Summary | |
|---|---|
Pool(int poolSize,
T prototype)
|
|
| Method Summary | |
|---|---|
void |
release(T t)
|
T |
take()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pool(int poolSize,
T prototype)
| Method Detail |
|---|
public T take()
public void release(T t)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||