|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.persistence.InMemoryDetachable<T>
T - Type of the detachable.public class InMemoryDetachable<T>
Inmemory detachable that simply returns the object passed in. Typiocally used for testing. It does nothing at detach.
| Constructor Summary | |
|---|---|
InMemoryDetachable(T aObject)
Constructs the detachable. |
|
| Method Summary | |
|---|---|
void |
detach()
Detaches the object. |
T |
get()
Gets the object, attaching it if needed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryDetachable(T aObject)
aObject - | Method Detail |
|---|
public void detach()
Detachable
detach in interface Detachable<T>public T get()
Detachable
get in interface Detachable<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||