Interface RegContainer

  • All Implemented Interfaces:
    kotlin.collections.Map , kotlin.collections.MutableMap

    
    public interface RegContainer<K extends Object, V extends Object>
     implements Map<K, V>
                        
    Author:

    Glom

    • 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
      abstract V register(K key, V value) Register
      abstract V put(K key, V value) Associates the specified value with the specified key in the map.
      abstract V remove(K key) Removes the specified key and its corresponding value from this map.
      abstract Unit putAll(Map<out K, V> from) Updates this map with key/value pairs from the specified map from.
      abstract Unit clear() Removes all elements from this map.
      abstract Set<K> getKeys() Returns a MutableSet of all keys in this map.
      abstract Collection<V> getValues() Returns a MutableCollection of all values in this map.
      abstract Set<Entry.Map<K, V>> getEntries() Returns a MutableSet of all key/value pairs in this map.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • register

         abstract V register(K key, V value)

        Register

      • put

         abstract V put(K key, V value)

        Associates the specified value with the specified key in the map.

        Returns:

        the previous value associated with the key, or null if the key was not present in the map.

      • remove

         abstract V remove(K key)

        Removes the specified key and its corresponding value from this map.

        Returns:

        the previous value associated with the key, or null if the key was not present in the map.

      • putAll

         abstract Unit putAll(Map<out K, V> from)

        Updates this map with key/value pairs from the specified map from.

      • clear

         abstract Unit clear()

        Removes all elements from this map.