| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private boolean | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public V | Returns: the item in the set if a match is found.key with which the specified value is to be associated key, V value in a set that is associated with the specified key value)Maps a key to a value in a set that is associated with the specified key. |
| public Set | Returns: the set that is associated with the specified key.key with which the specified value is to be associated key, V value to be added to a set that is associated with the specified key value)Associates the specified key with a set of values. |
| map | back to summary |
|---|---|
| private final Map<K, Set<V>> map | |
| modifiable | back to summary |
|---|---|
| private boolean modifiable | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| MultiHashtable | back to summary |
|---|---|
| public MultiHashtable() | |
| makeUnmodifiable | back to summary |
|---|---|
| public void makeUnmodifiable() Makes the MultiHashtable unmodifiable. This method allows modules to set the table as "read-only" so that only query operation, that is maps, is allowed. Any attempts to modify the returned map result in an UnsupportedOperationException. | |
| maps | back to summary |
|---|---|
| public V maps(K key, V value) Maps a key to a value in a set that is associated with the specified key. The mapping is performed by evaluating whether an item in the set equals the specified value.
| |
| put | back to summary |
|---|---|
| public Set Associates the specified key with a set of values. If the map previously contained a mapping for the key, the value is added to the set.
| |