Class OperatorExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <K extends Any, V extends Any> Unit set(Cache<K, V> $self, K key, V value) Sets the value for the given key using array access syntax.
      final static <K extends Any, V extends Any> Boolean contains(Cache<K, V> $self, K key) Checks if the cache contains the given key using 'in' operator.
      final static <K extends Any, V extends Any> Unit plusAssign(Cache<K, V> $self, Pair<K, V> pair) Adds a key-value pair to the cache using += operator.
      final static <K extends Any, V extends Any> Unit minusAssign(Cache<K, V> $self, K key) Removes a key from the cache using -= operator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • set

         final static <K extends Any, V extends Any> Unit set(Cache<K, V> $self, K key, V value)

        Sets the value for the given key using array access syntax.

      • contains

         final static <K extends Any, V extends Any> Boolean contains(Cache<K, V> $self, K key)

        Checks if the cache contains the given key using 'in' operator.

      • plusAssign

         final static <K extends Any, V extends Any> Unit plusAssign(Cache<K, V> $self, Pair<K, V> pair)

        Adds a key-value pair to the cache using += operator.

      • minusAssign

         final static <K extends Any, V extends Any> Unit minusAssign(Cache<K, V> $self, K key)

        Removes a key from the cache using -= operator.