Searched defs:oldVal (Results 1 - 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DCollections.java864 * <tt>(oldVal==null ? e==null : oldVal.equals(e))</tt>.
869 * @param oldVal the old value to be replaced.
870 * @param newVal the new value with which <tt>oldVal</tt> is to be
874 * <tt>(oldVal==null ? e==null : oldVal.equals(e))</tt>.
879 public static <T> boolean replaceAll(List<T> list, T oldVal, T newVal) { argument
883 if (oldVal==null) {
892 if (oldVal.equals(list.get(i))) {
900 if (oldVal
[all...]

Completed in 182 milliseconds