summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSKeyValueCodingAdditions.java
diff options
context:
space:
mode:
Diffstat (limited to 'projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSKeyValueCodingAdditions.java')
-rw-r--r--projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSKeyValueCodingAdditions.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSKeyValueCodingAdditions.java b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSKeyValueCodingAdditions.java
index 39428ad..72c9fc8 100644
--- a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSKeyValueCodingAdditions.java
+++ b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/NSKeyValueCodingAdditions.java
@@ -49,13 +49,13 @@ public interface NSKeyValueCodingAdditions extends NSKeyValueCoding {
* Returns a Map of the specified keys to their values, each of which might be
* obtained by calling valueForKey.
*/
- NSDictionary valuesForKeys(List aKeyList);
+ NSDictionary<String, Object> valuesForKeys(List<String> aKeyList);
/**
* Takes the keys from the specified map as properties and applies the
* corresponding values, each of which might be set by calling takeValueForKey.
*/
- void takeValuesFromDictionary(Map aMap);
+ void takeValuesFromDictionary(Map<String, Object> aMap);
/**
* Static utility methods that call the appropriate method if the object
@@ -68,7 +68,7 @@ public interface NSKeyValueCodingAdditions extends NSKeyValueCoding {
* NSKeyValueCodingAdditions, otherwise calls the method on
* DefaultImplementation.
*/
- public static void takeValuesFromDictionary(Object object, Map dictionary) {
+ public static void takeValuesFromDictionary(Object object, Map<String, Object> dictionary) {
if (object instanceof NSKeyValueCodingAdditions) {
((NSKeyValueCodingAdditions) object).takeValuesFromDictionary(dictionary);
} else {
@@ -94,7 +94,7 @@ public interface NSKeyValueCodingAdditions extends NSKeyValueCoding {
* NSKeyValueCodingAdditions, otherwise calls the method on
* DefaultImplementation.
*/
- public static NSDictionary valuesForKeys(Object object, List keys) {
+ public static NSDictionary<String, Object> valuesForKeys(Object object, List<String> keys) {
if (object instanceof NSKeyValueCodingAdditions) {
return ((NSKeyValueCodingAdditions) object).valuesForKeys(keys);
} else {
@@ -125,7 +125,7 @@ public interface NSKeyValueCodingAdditions extends NSKeyValueCoding {
* Provides a reflection-based implementation for classes that don't implement
* NSKeyValueCodingAdditions.
*/
- public static void takeValuesFromDictionary(Object object, Map dictionary) {
+ public static void takeValuesFromDictionary(Object object, Map<String, Object> dictionary) {
throw new RuntimeException("Not implemented yet.");
}
@@ -142,7 +142,7 @@ public interface NSKeyValueCodingAdditions extends NSKeyValueCoding {
* Provides a reflection-based implementation for classes that don't implement
* NSKeyValueCodingAdditions.
*/
- public static NSDictionary valuesForKeys(Object object, List keys) {
+ public static NSDictionary<String, Object> valuesForKeys(Object object, List<String> keys) {
throw new RuntimeException("Not implemented yet.");
}