| Modifier and Type | Field and Description |
|---|---|
private HashMap<ICity,IArmory> |
armoryMap |
| Constructor and Description |
|---|
ArmoryRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ICity city,
IArmory armory)
Add a new armory for a city.
|
IArmory |
getArmory(ICity city)
Retrieve the armory of the city.
|
Iterator<Map.Entry<ICity,IArmory>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.