Lines Matching defs:Fun

104                new Fun(){void f(){ emptyArray.set(0,1); }});
106 new Fun(){void f(){ emptyArray.add(0,1); }});
181 new Fun(){void f(){ it.next(); }});
208 new Fun(){void f(){ c.add(99); }},
209 new Fun(){void f(){ c.addAll(singleton(99)); }});
213 new Fun(){void f(){ c.clear(); }},
214 new Fun(){void f(){ c.remove(first); }},
215 new Fun(){void f(){ c.removeAll(singleton(first)); }},
216 new Fun(){void f(){ c.retainAll(emptyList()); }}
229 new Fun(){void f(){ c.set(0,42); }},
230 new Fun(){void f(){ c.add(0,42); }},
231 new Fun(){void f(){ c.addAll(0,singleton(86)); }});
234 new Fun(){void f(){
237 new Fun(){void f(){
266 new Fun(){void f(){ m.put(1,1); }},
267 new Fun(){void f(){ m.putAll(singletonMap(1,1)); }});
271 new Fun(){void f(){ m.remove(first); }},
272 new Fun(){void f(){ m.clear(); }});
278 new Fun(){void f(){ me.setValue(3); }});
470 new Fun(){void f(){ deq.getFirst(); }},
471 new Fun(){void f(){ deq.element(); }},
472 new Fun(){void f(){ deq.iterator().next(); }});
524 new Fun(){void f(){ deq.getFirst(); }},
525 new Fun(){void f(){ deq.element(); }},
526 new Fun(){void f(){ deq.iterator().next(); }});
550 new Fun(){void f(){ deq.getLast(); }});
594 new Fun(){void f(){ deq.getLast(); }});
627 new Fun(){void f(){ asList.listIterator().previous(); }});
630 new Fun(){void f(){ deq.iterator().next(); }},
631 new Fun(){void f(){ deq.element(); }},
632 new Fun(){void f(){ deq.getFirst(); }},
633 new Fun(){void f(){ deq.getLast(); }},
634 new Fun(){void f(){ deq.pop(); }},
635 new Fun(){void f(){ deq.remove(); }},
636 new Fun(){void f(){ deq.removeFirst(); }},
637 new Fun(){void f(){ deq.removeLast(); }});
925 Iterable<Fun> fs) {
928 for (Fun f : fs)
943 List<Fun> fs = new ArrayList<Fun>();
944 fs.add(new Fun(){void f(){ check(! m.containsKey(null));}});
945 fs.add(new Fun(){void f(){ equal(m.remove(null), null);}});
946 fs.add(new Fun(){void f(){ equal(m.get(null), null);}});
948 fs.add(new Fun(){void f(){ check(! cm.remove(null,null));}});}
953 fs.add(new Fun(){void f(){ equal(m.put(null,1), null); m.clear();}});
954 fs.add(new Fun(){void f(){ m.putAll(sm); m.clear();}});
956 fs.add(new Fun(){void f(){ check(! cm.remove(null,null));}});
957 fs.add(new Fun(){void f(){ equal(cm.putIfAbsent(null,1), 1);}});
958 fs.add(new Fun(){void f(){ equal(cm.replace(null,1), null);}});
959 fs.add(new Fun(){void f(){ equal(cm.replace(null,1, 1), 1);}});
1121 new Fun(){void f(){it.next();}});
1132 new Fun(){void f(){it.next();}});
1166 new Fun(){void f(){it.next();}});
1187 private static abstract class Fun {abstract void f() throws Throwable;}
1188 private static void THROWS(Class<? extends Throwable> k, Fun... fs) {
1189 for (Fun f : fs)