org.jetbrains.kotlin.util.slicedMap
Interface ReadOnlySlice<K,V>

All Known Subinterfaces:
WritableSlice<K,V>
All Known Implementing Classes:
DelegatingSlice

public interface ReadOnlySlice<K,V>


Method Summary
 V computeValue(SlicedMap map, K key, V value, boolean valueNotFound)
           
  getKey()
           
 ReadOnlySlice<K,V> makeRawValueVersion()
           
 

Method Detail

getKey

@NotNull
 getKey()

computeValue

V computeValue(SlicedMap map,
               K key,
               V value,
               boolean valueNotFound)

makeRawValueVersion

ReadOnlySlice<K,V> makeRawValueVersion()
Returns:
a slice that only retrieves the value from the storage and skips any computeValue() calls