public class TempPref
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean()
Method to get the boolean value on this TempPref object.
|
boolean |
getBooleanFactoryValue()
Method to get the factory-default boolean value of this TempPref object.
|
double |
getDouble()
Method to get the double value on this TempPref object.
|
double |
getDoubleFactoryValue()
Method to get the factory-default double value of this TempPref object.
|
java.lang.Object |
getFactoryValue()
Method to get the factory-default value of this TempPref object.
|
int |
getInt()
Method to get the integer value on this TempPref object.
|
int |
getIntFactoryValue()
Method to get the factory-default integer value of this TempPref object.
|
long |
getLong()
Method to get the long value on this TempPref object.
|
long |
getLongFactoryValue()
Method to get the factory-default long value of this TempPref object.
|
java.lang.String |
getString()
Method to get the string value on this TempPref object.
|
java.lang.String |
getStringFactoryValue()
Method to get the factory-default String value of this Pref object.
|
static TempPref |
makeBooleanPref(boolean factory)
Factory methods to create a boolean TempPref objects.
|
static TempPref |
makeDoublePref(double factory)
Factory methods to create a double TempPref objects.
|
static TempPref |
makeIntPref(int factory)
Factory methods to create an integer TempPref objects.
|
static TempPref |
makeLongPref(long factory)
Factory methods to create a long TempPref objects.
|
static TempPref |
makeStringPref(java.lang.String factory)
Factory methods to create a string TempPref objects.
|
void |
setBoolean(boolean v)
Method to set a new boolean value on this TempPref object.
|
void |
setDouble(double v)
Method to set a new double value on this TempPref object.
|
void |
setInt(int v)
Method to set a new integer value on this TempPref object.
|
void |
setLong(long v)
Method to set a new long value on this TempPref object.
|
void |
setString(java.lang.String str)
Method to set a new string value on this TempPref object.
|
public static TempPref makeBooleanPref(boolean factory)
factory
- the "factory" default value (if nothing is stored).public static TempPref makeIntPref(int factory)
factory
- the "factory" default value (if nothing is stored).public static TempPref makeLongPref(long factory)
factory
- the "factory" default value (if nothing is stored).public static TempPref makeDoublePref(double factory)
factory
- the "factory" default value (if nothing is stored).public static TempPref makeStringPref(java.lang.String factory)
factory
- the "factory" default value (if nothing is stored).public boolean getBoolean()
public int getInt()
public long getLong()
public double getDouble()
public java.lang.String getString()
public java.lang.Object getFactoryValue()
public boolean getBooleanFactoryValue()
public int getIntFactoryValue()
public long getLongFactoryValue()
public double getDoubleFactoryValue()
public java.lang.String getStringFactoryValue()
public void setBoolean(boolean v)
v
- the new boolean value of this TempPref object.public void setInt(int v)
v
- the new integer value of this TempPref object.public void setLong(long v)
v
- the new long value of this TempPref object.public void setDouble(double v)
v
- the new double value of this TempPref object.public void setString(java.lang.String str)
str
- the new string value of this TempPref object.