Interface SimpleMapService<K,​V>

  • All Known Implementing Classes:
    SimpleMapServiceImpl

    public interface SimpleMapService<K,​V>
    Simple map service.
    • Method Detail

      • put

        void put​(K key,
                 V val)
        Puts key-value pair into map.
        Parameters:
        key - Key.
        val - Value.
      • get

        V get​(K key)
        Gets value based on key.
        Parameters:
        key - Key.
        Returns:
        Value.
      • clear

        void clear()
        Clears map.
      • size

        int size()
        Returns:
        Map size.