Class TagMap

  • All Implemented Interfaces:
    java.util.Map<java.lang.String,​java.lang.String>

    @Deprecated
    public class TagMap
    extends java.lang.Object
    implements java.util.Map<java.lang.String,​java.lang.String>
    Deprecated.
    (stm) Nobody seems to really need this class. A simple Map would do. The implementation is very inefficient.
    I'm not really sure why this class is here. It implements Map. It's probably just a pre-java-1.5 typesafe variant plus the getTag and putTag methods. entrySet() returns null and equals() always returns false.
    Version:
    $Revision: 171 $
    Author:
    $Author: $
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static class  TagMap.Tag
      Deprecated.
       
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected TagMap.Tag[] tags
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TagMap()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void clear()
      Deprecated.
       
      boolean containsKey​(java.lang.Object obj)
      Deprecated.
       
      boolean containsValue​(java.lang.Object obj)
      Deprecated.
       
      java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> entrySet()
      Deprecated.
      Always return null!
      boolean equals​(java.lang.Object obj)
      Deprecated.
      Always returns false!
      java.lang.String get​(java.lang.Object obj)
      Deprecated.
       
      java.lang.String getTag​(java.lang.String tag)
      Deprecated.
      Equivalent to get(tag).
      int hashCode()
      Deprecated.
       
      boolean isEmpty()
      Deprecated.
       
      java.util.Set<java.lang.String> keySet()
      Deprecated.
       
      java.lang.String put​(java.lang.String key, java.lang.String value)
      Deprecated.
       
      void putAll​(java.util.Map<? extends java.lang.String,​? extends java.lang.String> map)
      Deprecated.
       
      java.lang.String putTag​(java.lang.String tag, java.lang.String value)
      Deprecated.
      Equivalent to put(tag, value).
      java.lang.String remove​(java.lang.Object obj)
      Deprecated.
       
      int size()
      Deprecated.
       
      java.util.Collection<java.lang.String> values()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Field Detail

    • Constructor Detail

      • TagMap

        public TagMap()
        Deprecated.
    • Method Detail

      • clear

        public void clear()
        Deprecated.
        Specified by:
        clear in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.clear()
      • containsKey

        public boolean containsKey​(java.lang.Object obj)
        Deprecated.
        Specified by:
        containsKey in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.containsKey(java.lang.Object)
      • containsValue

        public boolean containsValue​(java.lang.Object obj)
        Deprecated.
        Specified by:
        containsValue in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.containsValue(java.lang.Object)
      • entrySet

        public java.util.Set<java.util.Map.Entry<java.lang.String,​java.lang.String>> entrySet()
        Deprecated.
        Always return null!
        Specified by:
        entrySet in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.entrySet()
      • equals

        public boolean equals​(java.lang.Object obj)
        Deprecated.
        Always returns false!
        Specified by:
        equals in interface java.util.Map<java.lang.String,​java.lang.String>
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • get

        public java.lang.String get​(java.lang.Object obj)
        Deprecated.
        Specified by:
        get in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.get(java.lang.Object)
      • hashCode

        public int hashCode()
        Deprecated.
        Specified by:
        hashCode in interface java.util.Map<java.lang.String,​java.lang.String>
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • isEmpty

        public boolean isEmpty()
        Deprecated.
        Specified by:
        isEmpty in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.isEmpty()
      • keySet

        public java.util.Set<java.lang.String> keySet()
        Deprecated.
        Specified by:
        keySet in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.keySet()
      • put

        public java.lang.String put​(java.lang.String key,
                                    java.lang.String value)
        Deprecated.
        Specified by:
        put in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.put(java.lang.Object, java.lang.Object)
      • putAll

        public void putAll​(java.util.Map<? extends java.lang.String,​? extends java.lang.String> map)
        Deprecated.
        Specified by:
        putAll in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.putAll(java.util.Map)
      • remove

        public java.lang.String remove​(java.lang.Object obj)
        Deprecated.
        Specified by:
        remove in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.remove(java.lang.Object)
      • size

        public int size()
        Deprecated.
        Specified by:
        size in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.size()
      • values

        public java.util.Collection<java.lang.String> values()
        Deprecated.
        Specified by:
        values in interface java.util.Map<java.lang.String,​java.lang.String>
        See Also:
        Map.values()
      • getTag

        public java.lang.String getTag​(java.lang.String tag)
        Deprecated.
        Equivalent to get(tag).
        Parameters:
        tag -
      • putTag

        public java.lang.String putTag​(java.lang.String tag,
                                       java.lang.String value)
        Deprecated.
        Equivalent to put(tag, value).
        Parameters:
        tag -
        value -