T
- NameV
- Itempublic class NamedContainer<T,V> extends Container<V>
Constructor and Description |
---|
NamedContainer(T name,
V item)
Creates a TaggedContainer
|
Modifier and Type | Method and Description |
---|---|
T |
name()
Gets the name of the Container
|
void |
rename(T name)
Renames the Container
|