com.sun.hk2.component
Class Holder.Impl<T>
java.lang.Object
com.sun.hk2.component.Holder.Impl<T>
- All Implemented Interfaces:
- Holder<T>, Factory<T>
- Enclosing interface:
- Holder<T>
public static final class Holder.Impl<T>
- extends Object
- implements Holder<T>
Holder implementation that doesn't do any deferred computation,
where the value is given in the constructor.
| Nested classes/interfaces inherited from interface com.sun.hk2.component.Holder |
Holder.Impl<T> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Holder.Impl
public Holder.Impl(T t)
get
public T get()
- Specified by:
get in interface Factory<T>
Copyright © 2011 Oracle Corporation. All Rights Reserved.