Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.2.1.2.0)
E76725-01
 
- java.lang.Object
 
- 
- oracle.javatools.util.deferred.Thunk<T>
 
 
- 
- 
Nested Class Summary
Nested Classes 
| Modifier and Type | 
Class and Description | 
static class  | 
Thunk.ThunkException
A unchecked excpetions that thunks can use to communicate with
 the outside world. 
 | 
 
- 
Constructor Summary
Constructors 
| Constructor and Description | 
Thunk()  | 
 
- 
Method Summary
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
 
 
 
- 
- 
Method Detail
- 
get
public T get()
- Returns:
 
- The computed value in a single threaded environment this will only create one instance
   not matter how many times it is called.
 
 
- 
getIfSet
public T getIfSet()
- Returns:
 
- The computed value if the value has been set, this avoids the
   creation of objects when not required.
 
 
- 
getValue
protected T getValue()
- Returns:
 
- The current value, to be override for WeakThunk implementation
 
 
 
 
 
 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.2.1.2.0)
E76725-01
 
Copyright © 1997, 2016, Oracle. All rights reserved.