public abstract class ElementContainerAdapter<C> extends Object implements ContainerAdapter<C>
Constructor and Description |
---|
ElementContainerAdapter(C container) |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(Object newElement) |
C |
getContainer() |
abstract void |
remove(Object element) |
protected void |
setContainer(C container) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear
forEach, iterator, spliterator
protected C container
public ElementContainerAdapter(C container)
public C getContainer()
getContainer
in interface ContainerAdapter<C>
protected void setContainer(C container)
public abstract void add(Object newElement)
public abstract void remove(Object element)
Copyright © 2018. All rights reserved.