Package com.macrofocus.common.properties
Class SimpleProperties
java.lang.Object
com.macrofocus.common.properties.AbstractProperties<String>
com.macrofocus.common.properties.SimpleProperties
- All Implemented Interfaces:
MutableProperties<String>,Properties<String>,Iterable<String>
public class SimpleProperties
extends AbstractProperties<String>
implements MutableProperties<String>
Default data model for a collection of properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> MutableProperty<T> addProperty(String name, MutableProperty<T> property) <T> MutableProperty<T> createProperty(String name, T value) getProperty(String name) iterator()<T> MutableProperty<T> replaceProperty(String name, MutableProperty<T> property) voidMethods inherited from class com.macrofocus.common.properties.AbstractProperties
addPropertiesListener, addWeakPropertiesListener, notifyPropertyChanged, removePropertiesListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.macrofocus.common.properties.Properties
addPropertiesListener, addWeakPropertiesListener, removePropertiesListener
-
Constructor Details
-
SimpleProperties
public SimpleProperties()
-
-
Method Details
-
iterator
-
createProperty
- Specified by:
createPropertyin interfaceMutableProperties<String>
-
addProperty
- Specified by:
addPropertyin interfaceMutableProperties<String>
-
replaceProperty
- Specified by:
replacePropertyin interfaceMutableProperties<String>
-
getValue
- Specified by:
getValuein interfaceProperties<String>
-
setValue
- Specified by:
setValuein interfaceMutableProperties<String>
-
getProperty
- Specified by:
getPropertyin interfaceMutableProperties<String>- Specified by:
getPropertyin interfaceProperties<String>
-