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

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

public abstract class MemoizedFunctionToNullableImpl<K,V>
extends java.lang.Object
implements MemoizedFunctionToNullable<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
MemoizedFunctionToNullableImpl()
           
MemoizedFunctionToNullableImpl(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

MemoizedFunctionToNullableImpl

public MemoizedFunctionToNullableImpl()

MemoizedFunctionToNullableImpl

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

fun

@Nullable
public V fun(K input)
Specified by:
fun in interface com.intellij.util.Function<K,V>
Specified by:
fun in interface MemoizedFunctionToNullable<K,V>

doCompute

@Nullable
protected abstract V doCompute(K input)