Lines Matching refs:replace
882 check(! m.replace(18357,8888,7777));
884 try { m.replace(18357,null,7777); fail("NPE"); }
888 check(m.replace(18357,7346,5555));
889 check(m.replace(18357,5555,7346));
892 check(m.replace(92347,7834) == null);
893 try { m.replace(18357,null); fail("NPE"); }
895 check(m.replace(18357,7346) == 7346);
896 check(m.replace(18357,5555) == 7346);
898 check(m.replace(18357,7346) == 5555);
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);}});