public class IntegerKey extends TypedPreferenceKey<java.lang.Integer>
| Constructor and Description |
|---|
IntegerKey(java.lang.String id,
java.lang.Integer defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString(java.lang.Integer value) |
java.lang.Integer |
toValue(java.lang.String string) |
equals, getDefaultValue, getId, hashCode, toStringpublic IntegerKey(java.lang.String id,
java.lang.Integer defaultValue)
public java.lang.String toString(java.lang.Integer value)
toString in class TypedPreferenceKey<java.lang.Integer>public java.lang.Integer toValue(java.lang.String string)
toValue in class TypedPreferenceKey<java.lang.Integer>