public class MapContainer<E> extends Object implements IContainer<E>
| Constructor and Description |
|---|
MapContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String key,
E e)
add element to this container.
|
E |
find(String key)
find a element from this container.
|
Collection<E> |
values()
get collection of this container's value.
|
public E find(String key)
IContainerfind in interface IContainer<E>public void add(String key, E e)
IContaineradd in interface IContainer<E>key - a key.e - element will be puted to container.public Collection<E> values()
IContainervalues in interface IContainer<E>Copyright © 2015. All rights reserved.