net.sf.retrotranslator.runtime.impl
Class LazyValue<I,R>

java.lang.Object
  extended by net.sf.retrotranslator.runtime.impl.LazyValue<I,R>

public abstract class LazyValue<I,R>
extends java.lang.Object

Author:
Taras Puchko

Field Summary
private  I input
           
private  R result
           
 
Constructor Summary
LazyValue(I input)
           
 
Method Summary
 R get()
           
 void provide(R result)
           
protected abstract  R resolve(I input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

private I input

result

private R result
Constructor Detail

LazyValue

public LazyValue(I input)
Method Detail

get

public final R get()

provide

public final void provide(R result)

resolve

protected abstract R resolve(I input)