public class NetricsObjectNameCollection
extends java.lang.Object
| Constructor and Description |
|---|
NetricsObjectNameCollection()
Constructs an empty collection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(NetricsObjectType type,
java.lang.String... names)
Add specific Patterns object names to the collection.
|
void |
addAll()
Indicates the collection includes the names of all Patterns
objects of all Patterns types.
|
void |
addAll(NetricsObjectType type)
Indicates the collection includes the names of all Patterns
objects of the given Patterns type.
|
java.util.Set<java.lang.String> |
getObjectNames(NetricsObjectType type)
Retrieve the object names of a particular Patterns object type.
|
java.lang.String |
toString() |
public NetricsObjectNameCollection()
public void addAll()
public void addAll(NetricsObjectType type)
type - The collection is marked as holding all all Patterns objects of this type.public void add(NetricsObjectType type, java.lang.String... names)
type - The names are for objects of this type.names - The names to add. At least one name must be specified.public java.util.Set<java.lang.String> getObjectNames(NetricsObjectType type)
type - the type of Patterns object.public java.lang.String toString()
toString in class java.lang.Object