org.jetbrains.jet.lang.resolve.lazy.storage
Class MemoizedFunctionToNotNullImpl<K,V>

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.lazy.storage.MemoizedFunctionToNullableImpl<K,V>
      extended by org.jetbrains.jet.lang.resolve.lazy.storage.MemoizedFunctionToNotNullImpl<K,V>
All Implemented Interfaces:
com.intellij.util.Function<K,V>, MemoizedFunctionToNotNull<K,V>, MemoizedFunctionToNullable<K,V>

public abstract class MemoizedFunctionToNotNullImpl<K,V>
extends MemoizedFunctionToNullableImpl<K,V>
implements MemoizedFunctionToNotNull<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.util.Function
com.intellij.util.Function.First<P,R extends P>, com.intellij.util.Function.FirstInCollection<P,R extends P>, com.intellij.util.Function.Predefined, com.intellij.util.Function.Self<P,R>
 
Field Summary
 
Fields inherited from interface com.intellij.util.Function
ID, NULL, TO_STRING
 
Constructor Summary
MemoizedFunctionToNotNullImpl()
           
MemoizedFunctionToNotNullImpl(java.util.Map<K,java.lang.Object> map)
           
 
Method Summary
protected abstract  V doCompute(K input)
           
 V fun(K input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoizedFunctionToNotNullImpl

public MemoizedFunctionToNotNullImpl()

MemoizedFunctionToNotNullImpl

public MemoizedFunctionToNotNullImpl(@NotNull
                                     java.util.Map<K,java.lang.Object> map)
Method Detail

fun

@NotNull
public V fun(K input)
Specified by:
fun in interface com.intellij.util.Function<K,V>
Specified by:
fun in interface MemoizedFunctionToNotNull<K,V>
Specified by:
fun in interface MemoizedFunctionToNullable<K,V>
Overrides:
fun in class MemoizedFunctionToNullableImpl<K,V>

doCompute

@NotNull
protected abstract V doCompute(K input)
Specified by:
doCompute in class MemoizedFunctionToNullableImpl<K,V>