org.openstreetmap.josm.data
Class Preferences.AbstractSetting<T>

java.lang.Object
  extended by org.openstreetmap.josm.data.Preferences.AbstractSetting<T>
All Implemented Interfaces:
Preferences.Setting<T>
Direct Known Subclasses:
Preferences.ListListSetting, Preferences.ListSetting, Preferences.MapListSetting, Preferences.StringSetting
Enclosing class:
Preferences

public abstract static class Preferences.AbstractSetting<T>
extends java.lang.Object
implements Preferences.Setting<T>


Field Summary
private  T value
           
 
Constructor Summary
Preferences.AbstractSetting(T value)
           
 
Method Summary
 T getValue()
          Returns the value of this setting.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openstreetmap.josm.data.Preferences.Setting
getNullInstance, visit
 

Field Detail

value

private T value
Constructor Detail

Preferences.AbstractSetting

public Preferences.AbstractSetting(T value)
Method Detail

getValue

public T getValue()
Description copied from interface: Preferences.Setting
Returns the value of this setting.

Specified by:
getValue in interface Preferences.Setting<T>
Returns:
the value of this setting

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


JOSM