com.sun.hk2.component
Class Holder.Impl<T>

java.lang.Object
  extended by com.sun.hk2.component.Holder.Impl<T>
All Implemented Interfaces:
Holder<T>
Enclosing interface:
Holder<T>

public static final class Holder.Impl<T>
extends java.lang.Object
implements Holder<T>

Holder implementation that doesn't do any deferred computation, where the value is given in the constructor.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.hk2.component.Holder
Holder.Impl<T>
 
Constructor Summary
Holder.Impl(T t)
           
 
Method Summary
 T get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Holder.Impl

public Holder.Impl(T t)
Method Detail

get

public T get()
Specified by:
get in interface Holder<T>


Copyright © 2009 Sun Microsystems, Inc.. All Rights Reserved.