Class KeyMapper

    • Constructor Detail

      • KeyMapper

        public KeyMapper​(String prefix)
    • Method Detail

      • key

        public String key​(Object o)
        Gets key for an object.
        Parameters:
        o - the object.
      • get

        public Object get​(String key)
        Retrieves object with the key.
        Parameters:
        key - the name with the desired value.
        Returns:
        the object with the key.
      • remove

        public void remove​(Object removeobj)
        Removes object from the mapper.
        Parameters:
        removeobj - the object to be removed.
      • removeAll

        public void removeAll()
        Removes all objects from the mapper.