public class JDKCollectionAdapter<C extends Collection> extends ElementContainerAdapter<C>
container| Constructor and Description |
|---|
JDKCollectionAdapter(C container) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object newElement) |
void |
clear() |
C |
getContainer() |
Iterator<Object> |
iterator() |
void |
remove(Object element) |
setContainerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic JDKCollectionAdapter(C container)
public C getContainer()
getContainer in interface ContainerAdapter<C extends Collection>getContainer in class ElementContainerAdapter<C extends Collection>public void clear()
public void add(Object newElement)
add in class ElementContainerAdapter<C extends Collection>public void remove(Object element)
remove in class ElementContainerAdapter<C extends Collection>Copyright © 2020. All rights reserved.