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

java.lang.Object
  extended by 
      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)
           
 
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
afterPut, check, getKey, 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)
Overrides:
afterPut in class BasicWritableSlice<K,V>