org.jetbrains.kotlin.util.slicedMap
Class Slices.SliceWithOpposite<K,V>

java.lang.Object
  extended by org.jetbrains.kotlin.util.slicedMap.BasicWritableSlice<K,V>
      extended by org.jetbrains.kotlin.util.slicedMap.Slices.BasicRemovableSlice<K,V>
          extended by org.jetbrains.kotlin.util.slicedMap.Slices.SliceWithOpposite<K,V>
All Implemented Interfaces:
ReadOnlySlice<K,V>, RemovableSlice<K,V>, WritableSlice<K,V>
Enclosing class:
Slices

public static class Slices.SliceWithOpposite<K,V>
extends Slices.BasicRemovableSlice<K,V>


Constructor Summary
Slices.SliceWithOpposite(RewritePolicy rewritePolicy, WritableSlice<? super V,? super K> opposite, Slices.KeyNormalizer<K> keyNormalizer)
           
 
Method Summary
 void afterPut(MutableSlicedMap map, K key, V value)
           
 SlicedMapKey<K,V> makeKey(K key)
           
 
Methods inherited from class org.jetbrains.kotlin.util.slicedMap.BasicWritableSlice
check, computeValue, getRewritePolicy, initSliceDebugNames, isCollective, makeRawValueVersion, setDebugName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.util.slicedMap.WritableSlice
check, getRewritePolicy, isCollective
 
Methods inherited from interface org.jetbrains.kotlin.util.slicedMap.ReadOnlySlice
computeValue, makeRawValueVersion
 

Constructor Detail

Slices.SliceWithOpposite

public Slices.SliceWithOpposite(RewritePolicy rewritePolicy,
                                WritableSlice<? super V,? super K> opposite,
                                Slices.KeyNormalizer<K> keyNormalizer)
Method Detail

afterPut

public void afterPut(MutableSlicedMap map,
                     K key,
                     V value)
Specified by:
afterPut in interface WritableSlice<K,V>
Overrides:
afterPut in class BasicWritableSlice<K,V>

makeKey

public SlicedMapKey<K,V> makeKey(K key)
Specified by:
makeKey in interface ReadOnlySlice<K,V>
Overrides:
makeKey in class BasicWritableSlice<K,V>