K
- V
- public final class NamedMap<K,V>
extends java.util.HashMap<K,V>
Constructor and Description |
---|
NamedMap()
Construct an empty Map with a null name.
|
NamedMap(int initialCapacity)
Construct a map with the supplied initial capacity and null name.
|
NamedMap(int initialCapacity,
float loadFactor)
Construct a map with the supplied initial capacity and load factor and null name.
|
NamedMap(java.util.Map<? extends K,? extends V> map)
Construct a map from the supplied name and null name.
|
NamedMap(java.lang.String name)
Construct an empty Map with the supplied event type name.
|
NamedMap(java.lang.String name,
int initialCapacity)
Construct a map with the supplied name and initial capacity.
|
NamedMap(java.lang.String name,
int initialCapacity,
float loadFactor)
Construct a map with the supplied name, initial capacity and load factor.
|
NamedMap(java.lang.String name,
java.util.Map<? extends K,? extends V> map)
Construct a map from the supplied name and underlying Map.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the map and name.
|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Get the event type name of the map.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Set the event type name of the Map.
|
java.lang.String |
toString() |
public NamedMap(java.lang.String name)
name
- the event type name associated with this map.public NamedMap(java.lang.String name, int initialCapacity)
name
- the event type name associated with this map.initialCapacity
- the initial capacity.public NamedMap(java.lang.String name, int initialCapacity, float loadFactor)
name
- the event type name associated with this map.initialCapacity
- the initial capacity.loadFactor
- the load factorpublic NamedMap(java.lang.String name, java.util.Map<? extends K,? extends V> map)
name
- the event type name associated with this map.map
- the map whose mappings are to be placed in this mappublic NamedMap()
public NamedMap(int initialCapacity)
initialCapacity
- the initial capacity.public NamedMap(int initialCapacity, float loadFactor)
initialCapacity
- the initial capacity.loadFactor
- the load factorpublic void setName(java.lang.String name)
name
- public java.lang.String getName()
public int hashCode()
public boolean equals(java.lang.Object o)
public void clear()
Submit a bug or feature
Copyright (c) 2013-2020 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.