Class ElementContainerAdapter<C>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected C container  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void add​(java.lang.Object newElement)  
      C getContainer()  
      abstract void remove​(java.lang.Object element)  
      protected void setContainer​(C container)  
      • Methods inherited from class java.lang.Object

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

        forEach, iterator, spliterator
    • Field Detail

      • container

        protected C container
    • Constructor Detail

      • ElementContainerAdapter

        public ElementContainerAdapter​(C container)
    • Method Detail

      • setContainer

        protected void setContainer​(C container)
      • add

        public abstract void add​(java.lang.Object newElement)
      • remove

        public abstract void remove​(java.lang.Object element)