Lines Matching refs:h1
46 Hashtable<String, String> h1 = new Hashtable<>();
50 h1.put("key", "value");
54 oos.writeObject(h1);
64 if(!h1.getClass().isInstance(deserializedObject)) {
65 throw new RuntimeException("Result not assignable to type of h1");
68 if (false == h1.equals(deserializedObject)) {
69 Hashtable<String, String> d1 = (Hashtable<String, String>) h1;
70 for(Map.Entry entry: h1.entrySet()) {
71 System.err.println("h1.key::" + entry.getKey() + " d1.containsKey()::" + d1.containsKey((String) entry.getKey()));
72 System.err.println("h1.value::" + entry.getValue() + " d1.contains()::" + d1.contains(entry.getValue()));
73 System.err.println("h1.value == d1.value " + entry.getValue().equals(d1.get((String) entry.getKey())));
76 throw new RuntimeException(getFailureText(h1, deserializedObject));