Class OperatorExtensionsKt
-
- All Implemented Interfaces:
public final class OperatorExtensionsKt
-
-
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. -
-
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.
-
-
-
-