P - Concrete type of the properties contained in the setpublic static interface PropertySet.Builder<P extends Property>
PropertySet instances.| Modifier and Type | Method and Description |
|---|---|
<PT extends P> |
add(Iterable<PT> properties)
Add all the properties provided by given
Iterable to the set. |
<PT extends P> |
add(PT property)
Add a property to the set.
|
PropertySet<P> |
build()
Build
PropertySet instance |
<PT extends P> |
remove(Iterable<PT> properties)
Remove all the properties provided by given
Iterable from the set. |
<PT extends P> |
remove(PT property)
Remove a property from the set.
|
<PT extends P> PropertySet.Builder<P> add(PT property)
PT - Actual property typeproperty - The property to add (not null)<PT extends P> PropertySet.Builder<P> add(Iterable<PT> properties)
Iterable to the set.PT - Actual property typeproperties - Properties Iterable to add (not null)<PT extends P> PropertySet.Builder<P> remove(PT property)
PT - Actual property typeproperty - The property to remove (not null)<PT extends P> PropertySet.Builder<P> remove(Iterable<PT> properties)
Iterable from the set.PT - Actual property typeproperties - Properties Iterable to remove (not null)PropertySet<P> build()
PropertySet instanceCopyright © 2017 The Holon Platform. All rights reserved.