6364656667686970
return this; } @Override public Preferences putString (String key, String val) { nsDictionary.put(convertKey(key), new NSString(val)); return this; }
117118119120121122123124125
return value.floatValue(); } @Override public String getString (String key) { NSString value = (NSString)nsDictionary.get(convertKey(key)); if (value == null) return ""; return value.toString(); }
178179180181182183184
public void remove (String key) { nsDictionary.remove(convertKey(key)); } private NSString convertKey (String key) { return new NSString(key); }
59606162636465
nsDictionary.put(convertKey(key), NSNumber.valueOf(val)); } @Override public void putString (String key, String val) { nsDictionary.put(convertKey(key), new NSString(val)); }
111112113114115116117118119
172173174175176177178
68697071727374
120121122123124125126127128
181182183184185186187