diff options
Diffstat (limited to 'java/src/com/android/i18n/addressinput/AddressVerificationNodeData.java')
-rw-r--r-- | java/src/com/android/i18n/addressinput/AddressVerificationNodeData.java | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/java/src/com/android/i18n/addressinput/AddressVerificationNodeData.java b/java/src/com/android/i18n/addressinput/AddressVerificationNodeData.java index bb291d9..8082c07 100644 --- a/java/src/com/android/i18n/addressinput/AddressVerificationNodeData.java +++ b/java/src/com/android/i18n/addressinput/AddressVerificationNodeData.java @@ -28,28 +28,28 @@ import java.util.Map; */ public class AddressVerificationNodeData { - private final Map<AddressDataKey, String> mMap; - - public AddressVerificationNodeData(Map<AddressDataKey, String> map) { - Util.checkNotNull("Cannot construct StandardNodeData with null map"); - mMap = map; - } - - /** - * Iterates through the map. - */ - public Iterator<AddressDataKey> iterator() { - return mMap.keySet().iterator(); - } - - public boolean containsKey(AddressDataKey key) { - return mMap.containsKey(key); - } - - /** - * Gets the value for a particular key in the map. - */ - public String get(AddressDataKey key) { - return mMap.get(key); - } + private final Map<AddressDataKey, String> map; + + public AddressVerificationNodeData(Map<AddressDataKey, String> map) { + Util.checkNotNull("Cannot construct StandardNodeData with null map"); + this.map = map; + } + + /** + * Iterates through the map. + */ + public Iterator<AddressDataKey> iterator() { + return map.keySet().iterator(); + } + + public boolean containsKey(AddressDataKey key) { + return map.containsKey(key); + } + + /** + * Gets the value for a particular key in the map. + */ + public String get(AddressDataKey key) { + return map.get(key); + } } |