Class CustomUserAttributesMap<VALUE extends IMonitorUserAttributeValue>

  • Type Parameters:
    VALUE - may be trusted or untrusted attribute.
    All Implemented Interfaces:
    java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>

    public class CustomUserAttributesMap<VALUE extends IMonitorUserAttributeValue>
    extends java.lang.Object
    implements java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
    A map for handle with monitor user attribute.
    Since:
    14.0.0
    Version:
    $Revision$ $Date$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  CustomUserAttributesMap.Constructor  
      • Nested classes/interfaces inherited from interface java.util.Map

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean containsKey​(java.lang.Object key)  
      boolean containsValue​(java.lang.Object value)  
      java.util.Set<java.util.Map.Entry<UserAttribute,​java.util.List<java.lang.Object>>> entrySet()  
      java.util.List<java.lang.Object> get​(java.lang.Object key)  
      boolean isEmpty()  
      java.util.Set<UserAttribute> keySet()  
      java.util.List<java.lang.Object> put​(UserAttribute userAttribute, java.util.List<java.lang.Object> value)  
      void putAll​(java.util.Map<? extends UserAttribute,​? extends java.util.List<java.lang.Object>> m)  
      java.util.List<java.lang.Object> remove​(java.lang.Object key)  
      void replaceBy​(java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.util.List<java.lang.Object>>> sourceMap)
      Delete all attributes that isn't in given map parameter and put all values form given map parameter.
      int size()  
      java.util.Collection<java.util.List<java.lang.Object>> values()  
      • Methods inherited from class java.lang.Object

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

        compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Specified by:
        containsKey in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Specified by:
        containsValue in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • get

        public java.util.List<java.lang.Object> get​(java.lang.Object key)
        Specified by:
        get in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • put

        public java.util.List<java.lang.Object> put​(UserAttribute userAttribute,
                                                    java.util.List<java.lang.Object> value)
        Specified by:
        put in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • remove

        public java.util.List<java.lang.Object> remove​(java.lang.Object key)
        Specified by:
        remove in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • putAll

        public void putAll​(java.util.Map<? extends UserAttribute,​? extends java.util.List<java.lang.Object>> m)
        Specified by:
        putAll in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • keySet

        public java.util.Set<UserAttribute> keySet()
        Specified by:
        keySet in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • values

        public java.util.Collection<java.util.List<java.lang.Object>> values()
        Specified by:
        values in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • entrySet

        public java.util.Set<java.util.Map.Entry<UserAttribute,​java.util.List<java.lang.Object>>> entrySet()
        Specified by:
        entrySet in interface java.util.Map<UserAttribute,​java.util.List<java.lang.Object>>
      • replaceBy

        public void replaceBy​(java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​java.util.List<java.lang.Object>>> sourceMap)
        Delete all attributes that isn't in given map parameter and put all values form given map parameter.
        Parameters:
        sourceMap - map source to be cloned.
        Since:
        14.0.0