Home
last modified time | relevance | path

Searched refs:evil (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DEvilMapTest.java50 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_HashMap() local
51 evil.put("hi", "there"); in test_48055_HashMap()
53 HashMap<String, String> map = new HashMap<String, String>(evil); in test_48055_HashMap()
60 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_Hashtable() local
61 evil.put("hi", "there"); in test_48055_Hashtable()
63 Hashtable<String, String> map = new Hashtable<String, String>(evil); in test_48055_Hashtable()
70 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_LinkedHashMap() local
71 evil.put("hi", "there"); in test_48055_LinkedHashMap()
73 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(evil); in test_48055_LinkedHashMap()
80 Map<String, String> evil = new EvilMap<String, String>(); in test_48055_WeakHashMap() local
[all …]
/libcore/ojluni/src/test/java/util/Collections/
DCheckedMapReplaceAll.java45 BiFunction evil = (k, v) -> (((int)k) % 2 != 0) ? v : "evil"; in main() local
48 wrapped.replaceAll(evil); in main()
DCheckedListReplaceAll.java41 UnaryOperator evil = e -> (((int) e) % 2 != 0) ? e : "evil"; in main() local
44 wrapped.replaceAll(evil); in main()