Use Maps.equals, test streaming Integer values in a Map

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6210 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Charlie Groves
2010-10-15 20:30:03 +00:00
parent c675a8297d
commit 88239d8c42
3 changed files with 14 additions and 23 deletions
@@ -55,6 +55,7 @@ public class ASStreamableSubset extends SimpleStreamableObject
public List<String> nullStrings;
public Map<String, String> stringMap = Mapping.of("one", "1", "two", "2", "three", "3");
public Map<String, Integer> stringIntMap = Mapping.of("one", 1, "two", 2, "three", 3);
public Map<String, String> nullStringMap;
@Override
@@ -84,7 +85,7 @@ public class ASStreamableSubset extends SimpleStreamableObject
Objects.equal(strings, ow.strings) && Objects.equal(nullStrings, ow.nullStrings)
&&
Objects.equal(stringMap, ow.stringMap)
Objects.equal(stringMap, ow.stringMap) && Objects.equal(stringIntMap, ow.stringIntMap)
&& Objects.equal(nullStringMap, ow.nullStringMap);
}
}