T - Type of the detachable.public class InMemoryDetachable<T> extends Object implements Detachable<T>
| Constructor and Description |
|---|
InMemoryDetachable(T aObject)
Constructs the detachable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
detach()
Detaches the object.
|
T |
get()
Gets the object, attaching it if needed.
|
public InMemoryDetachable(T aObject)
aObject - public void detach()
Detachabledetach in interface Detachable<T>public T get()
Detachableget in interface Detachable<T>Copyright © 2025. All rights reserved.