Home
last modified time | relevance | path

Searched refs:curValue (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DMap.java867 Object curValue = get(key); in remove() local
868 if (!Objects.equals(curValue, value) || in remove()
869 (curValue == null && !containsKey(key))) { in remove()
919 Object curValue = get(key); in replace() local
920 if (!Objects.equals(curValue, oldValue) || in replace()
921 (curValue == null && !containsKey(key))) { in replace()
967 V curValue; in replace() local
968 if (((curValue = get(key)) != null) || containsKey(key)) { in replace()
969 curValue = put(key, value); in replace()
971 return curValue; in replace()
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java345 long curValue = getFrom(temporal); in adjustInto() local
347 … return (R) temporal.with(DAY_OF_YEAR, temporal.getLong(DAY_OF_YEAR) + (newValue - curValue)); in adjustInto()
421 long curValue = getFrom(temporal); in adjustInto() local
423 …turn (R) temporal.with(MONTH_OF_YEAR, temporal.getLong(MONTH_OF_YEAR) + (newValue - curValue) * 3); in adjustInto()