Class ClassStore

  • All Implemented Interfaces:
    java.util.Map<java.lang.Object[],​java.lang.Class<?>>

    public class ClassStore
    extends java.lang.Object
    implements java.util.Map<java.lang.Object[],​java.lang.Class<?>>
    Class used to store injected classes globally.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

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

      Constructors 
      Constructor Description
      ClassStore()
      Creates the store.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Override
      boolean containsKey​(java.lang.Object key)
      Override
      boolean containsValue​(java.lang.Object value)
      Override
      java.util.Set<java.util.Map.Entry<java.lang.Object[],​java.lang.Class<?>>> entrySet()
      Override
      java.lang.Class<?> get​(java.lang.Object key)
      Override
      boolean isEmpty()
      Override
      java.util.Set<java.lang.Object[]> keySet()
      Override
      java.lang.Class<?> put​(java.lang.Object[] key, java.lang.Class<?> value)
      Override
      void putAll​(java.util.Map<? extends java.lang.Object[],​? extends java.lang.Class<?>> m)
      Override
      java.lang.Class<?> remove​(java.lang.Object key)
      Override
      int size()
      Override
      java.util.Collection<java.lang.Class<?>> values()
      Override
      • 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
    • Constructor Detail

      • ClassStore

        public ClassStore()
        Creates the store.
    • Method Detail

      • get

        public java.lang.Class<?> get​(java.lang.Object key)
        Override
        Specified by:
        get in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • put

        public java.lang.Class<?> put​(java.lang.Object[] key,
                                      java.lang.Class<?> value)
        Override
        Specified by:
        put in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • size

        public int size()
        Override
        Specified by:
        size in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • isEmpty

        public boolean isEmpty()
        Override
        Specified by:
        isEmpty in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • containsKey

        public boolean containsKey​(java.lang.Object key)
        Override
        Specified by:
        containsKey in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • containsValue

        public boolean containsValue​(java.lang.Object value)
        Override
        Specified by:
        containsValue in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • remove

        public java.lang.Class<?> remove​(java.lang.Object key)
        Override
        Specified by:
        remove in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • putAll

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

        public void clear()
        Override
        Specified by:
        clear in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • keySet

        public java.util.Set<java.lang.Object[]> keySet()
        Override
        Specified by:
        keySet in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • values

        public java.util.Collection<java.lang.Class<?>> values()
        Override
        Specified by:
        values in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>
      • entrySet

        public java.util.Set<java.util.Map.Entry<java.lang.Object[],​java.lang.Class<?>>> entrySet()
        Override
        Specified by:
        entrySet in interface java.util.Map<java.lang.Object[],​java.lang.Class<?>>