Class DefaultBeanGroup<K,​V extends BeanInstance<K>>

    • Method Detail

      • addBeanInstance

        public void addBeanInstance​(V instance)
        Description copied from interface: BeanGroup
        Adds the specified bean instance to this group.
        Specified by:
        addBeanInstance in interface BeanGroup<K,​V extends BeanInstance<K>>
        Parameters:
        instance - a bean instance
      • removeBeanInstance

        public V removeBeanInstance​(K id)
        Description copied from interface: BeanGroup
        Removes the bean instance with the specified identifier from this group.
        Specified by:
        removeBeanInstance in interface BeanGroup<K,​V extends BeanInstance<K>>
        Parameters:
        id - a bean instance identifier
        Returns:
        the removed bean instance, or null, if no such bean instance existed
      • mutate

        public void mutate()
        Specified by:
        mutate in interface Mutator