Package org.openstreetmap.josm.tools
Interface Property<O,P>
- Type Parameters:
O- Object typeP- Property type
public interface Property<O,P>
Small interface to define a property with both read and write access.
-
Method Summary
-
Method Details
-
get
Get the value of the property.- Parameters:
obj- the object, from that the property is derived- Returns:
- the value of the property for the object obj
-
set
Set the value of the property for the object.- Parameters:
obj- the object for that the property should be setvalue- the value the property is set to
-