public class PropertySet
extends java.util.AbstractSet<java.lang.String>
For example adding "properties/myProperty" to the set will mean set.contains( "myProperty" ) to return true.
The contents of the Set will be the property paths with the "properties" stripped.
Property.stripProperties(String)
Constructor and Description |
---|
PropertySet()
Constructs a new, empty, PropertySet
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.String e) |
boolean |
contains(java.lang.Object o) |
java.util.Iterator<java.lang.String> |
iterator() |
boolean |
remove(java.lang.Object o) |
int |
size() |
addAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toString
public boolean add(java.lang.String e)
add
in interface java.util.Collection<java.lang.String>
add
in interface java.util.Set<java.lang.String>
add
in class java.util.AbstractCollection<java.lang.String>
public boolean contains(java.lang.Object o)
contains
in interface java.util.Collection<java.lang.String>
contains
in interface java.util.Set<java.lang.String>
contains
in class java.util.AbstractCollection<java.lang.String>
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<java.lang.String>
remove
in interface java.util.Set<java.lang.String>
remove
in class java.util.AbstractCollection<java.lang.String>
public java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
iterator
in interface java.util.Collection<java.lang.String>
iterator
in interface java.util.Set<java.lang.String>
iterator
in class java.util.AbstractCollection<java.lang.String>
public int size()
size
in interface java.util.Collection<java.lang.String>
size
in interface java.util.Set<java.lang.String>
size
in class java.util.AbstractCollection<java.lang.String>