org.jetbrains.jet.lang.resolve.lazy.storage
Class NotNullLazyValueImpl<T>

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.lazy.storage.NullableLazyValueImpl<T>
      extended by org.jetbrains.jet.lang.resolve.lazy.storage.NotNullLazyValueImpl<T>
All Implemented Interfaces:
com.intellij.openapi.util.Computable<T>, NotNullLazyValue<T>, NullableLazyValue<T>

public abstract class NotNullLazyValueImpl<T>
extends NullableLazyValueImpl<T>
implements NotNullLazyValue<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Computable
com.intellij.openapi.util.Computable.NotNullCachedComputable<T>, com.intellij.openapi.util.Computable.NullableCachedComputable<T>, com.intellij.openapi.util.Computable.PredefinedValueComputable<T>
 
Constructor Summary
NotNullLazyValueImpl()
           
 
Method Summary
 T compute()
           
protected abstract  T doCompute()
           
 
Methods inherited from class org.jetbrains.jet.lang.resolve.lazy.storage.NullableLazyValueImpl
postCompute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotNullLazyValueImpl

public NotNullLazyValueImpl()
Method Detail

compute

@NotNull
public T compute()
Specified by:
compute in interface com.intellij.openapi.util.Computable<T>
Specified by:
compute in interface NotNullLazyValue<T>
Specified by:
compute in interface NullableLazyValue<T>
Overrides:
compute in class NullableLazyValueImpl<T>

doCompute

@NotNull
protected abstract T doCompute()
Specified by:
doCompute in class NullableLazyValueImpl<T>