Lines Matching refs:equal
42 { "1", "2" }, // different but equal
223 if (expectException || !equal(expectValue, foundValue))
282 if (!equal(l.iterator(), ref.iterator()))
307 if (!equal(l.listIterator(), ref.listIterator()))
318 if (!equal(l.listIterator(i), ref.listIterator(i)))
412 if (!equal(l.subList(lwb, upb), ref.subList(lwb,upb)))
424 if (!equal(l.toArray(), ref.toArray()))
434 if (!equal(l.toArray(new String[0]), ref.toArray(new String[0])))
450 if (!equal(expect, found)) {
458 if (!equal(l, ref))
460 if (!equal(arg, arg_ref))
475 if (!equal(l, ref)) // orginal should be unchanged
477 if (!equal(expect, found))
496 static <T> boolean equal(T t1, T t2) {
500 static <T> boolean equal(Iterator<T> iter1, Iterator<T> iter2) {
505 if (!equal(iter1.next(), iter2.next()))
512 static <T> boolean equal(ListIterator<T> iter1, ListIterator<T> iter2) {
524 return equal((Iterator<T>) iter1, (Iterator<T>) iter2);
527 static <T> boolean equal(T[] a1, T[] a2) {
535 if (!equal(a1[i], a2[i]))