public class InstanceHolder extends Object
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 © 2016 SAPERION AG. All rights reserved.