public class InstanceHolder extends Object
Constructor and Description |
---|
InstanceHolder() |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
contains(Class<T> key)
Contains.
|
static <T> T |
get(Class<T> key)
Gets the.
|
static <T> void |
put(T instance,
Class<T> key)
Put.
|
public static <T> void put(T instance, Class<T> key)
T
- the generic typeinstance
- the instancekey
- the keypublic static <T> boolean contains(Class<T> key)
T
- the generic typekey
- the keypublic static <T> T get(Class<T> key)
T
- the generic typekey
- the keyCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.