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, waitclearforEach, iterator, spliteratorprotected 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 © 2020. All rights reserved.