| Constructor and Description |
|---|
Properties() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Property... properties)
Adds one or more properties to this collection.
|
boolean |
contains(String name)
Returns
true if this collection contains a given property. |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isEmpty()
Returns
true if this collection has no properties. |
Iterator<Property> |
iterator() |
Property |
lookup(String name)
Returns a given property in this collection.
|
void |
remove(String name)
Removes a given property.
|
int |
size()
Returns the number of properties in this collection
|
Property[] |
toArray()
Returns this properties as an array.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void add(Property... properties)
properties - the propertiespublic boolean contains(String name)
true if this collection contains a given property.name - the name of the propertytrue if this collection contains a property with the given namepublic void remove(String name)
name - the name of the propertyIllegalStateException - if a property with the given name does not exist in this collectionpublic Property lookup(String name)
name - the name of the propertyIllegalStateException - if a property with a given name does not exist in this collectionpublic boolean isEmpty()
true if this collection has no properties.true if this collection has no propertiespublic int size()
public Property[] toArray()
Copyright © 2018. All rights reserved.