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()
Detachable
detach
in interface Detachable<T>
public T get()
Detachable
get
in interface Detachable<T>
Copyright © 2024. All rights reserved.