JavaScript is disabled on your browser.
 
 
 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3)  E41664-01
 
java.lang.Object 
oracle.javatools.util.deferred.THC 
 
 
 
 
 
public class THC 
extends java.lang.Object 
An implementation of a typesafe heterogenous container, taken from
 effective java. See also http://kingsfleet.blogspot.com/2009/08/thc-and-bit-of-thunking-creative-ways.html
 
 
 
 
Nested Class Summary 
Nested Classes    
Modifier and Type 
Class and Description 
 
static interface  
THC.DeriveValue <T >
Allow the client to provide a derrived value
 
 
 
 
 
Constructor Summary 
Constructors    
Constructor and Description 
 
THC  ()  
 
 
 
 
Method Summary 
Methods    
Modifier and Type 
Method and Description 
 
<Interface>  Interface 
as  (java.lang.Class<Interface> type)  
 
<T> T 
get  (java.lang.Class<T> key)  
 
<T> void 
put  (java.lang.Class<T> key,
   T value)  
 
<T> void 
put  (java.lang.Class<T> key,
   THC.DeriveValue <T> value)
Place a value in the structure that has yet to be derrived.
 
 
 
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
 
 
 
 
 
 
 
Method Detail 
 
put 
public <T> void put(java.lang.Class<T> key,
           THC.DeriveValue <T> value) 
Place a value in the structure that has yet to be derrived.
Parameters: key - value - The value to be thought of in the future 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 12c (12.1.3)  E41664-01
 
Copyright © 1997, 2014, Oracle. All rights reserved.