|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectHolder1<T>
public class Holder1<T>
Basic implementation of a holder.
| Constructor Summary | |
|---|---|
Holder1()
Creates a Holder1. |
|
Holder1(T thing)
Creates a Holder1. |
|
| Method Summary | |
|---|---|
T |
get()
Returns the thing held. |
void |
set(T thing)
Sets the thing held. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Holder1()
public Holder1(T thing)
thing - per get()| Method Detail |
|---|
public T get()
get in interface Holder<T>set(Object)public void set(T thing)
get()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||