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

/libcore/ojluni/src/main/java/java/beans/
H A DIndexedPropertyChangeEvent.java54 * @param oldValue The old value of the property.
59 Object oldValue, Object newValue,
61 super (source, propertyName, oldValue, newValue);
58 IndexedPropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue, int index) argument
H A DPropertyChangeEvent.java55 * @param oldValue the old value of the property
61 Object oldValue, Object newValue) {
65 this.oldValue = oldValue;
95 return oldValue;
137 private Object oldValue; field in class:PropertyChangeEvent
157 sb.append("; oldValue=").append(getOldValue());
60 PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue) argument
H A DPropertyChangeSupport.java64 * String oldValue = this.value;
66 * this.pcs.firePropertyChange("value", oldValue, newValue);
258 * @param oldValue the old value of the property
261 public void firePropertyChange(String propertyName, Object oldValue, Object newValue) { argument
262 if (oldValue == null || newValue == null || !oldValue.equals(newValue)) {
263 firePropertyChange(new PropertyChangeEvent(this.source, propertyName, oldValue, newValue));
278 * @param oldValue the old value of the property
281 public void firePropertyChange(String propertyName, int oldValue, int newValue) { argument
282 if (oldValue !
301 firePropertyChange(String propertyName, boolean oldValue, boolean newValue) argument
356 fireIndexedPropertyChange(String propertyName, int index, Object oldValue, Object newValue) argument
378 fireIndexedPropertyChange(String propertyName, int index, int oldValue, int newValue) argument
400 fireIndexedPropertyChange(String propertyName, int index, boolean oldValue, boolean newValue) argument
[all...]
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentMap.java197 * && Objects.equals(map.get(key), oldValue)) {
210 * @param oldValue value expected to be associated with the specified key
222 boolean replace(K key, V oldValue, V newValue); argument
308 * V oldValue, newValue;
309 * return ((oldValue = map.get(key)) == null
311 * && (oldValue = map.putIfAbsent(key, newValue)) == null)
313 * : oldValue;}</pre>
330 V oldValue, newValue;
331 return ((oldValue = get(key)) == null
333 && (oldValue
[all...]
H A DConcurrentSkipListMap.java1980 public boolean replace(K key, V oldValue, V newValue) { argument
1981 if (key == null || oldValue == null || newValue == null)
1988 if (!oldValue.equals(v))
2894 public boolean replace(K key, V oldValue, V newValue) { argument
2896 return m.replace(key, oldValue, newValue);
H A DConcurrentHashMap.java1570 public boolean replace(K key, V oldValue, V newValue) { argument
1571 if (key == null || oldValue == null || newValue == null)
1573 return replaceNode(key, newValue, oldValue) != null;
1624 V oldValue = p.val;
1626 V newValue = function.apply(key, oldValue);
1629 if (replaceNode(key, newValue, oldValue) != null ||
1630 (oldValue = get(key)) == null)
/libcore/ojluni/src/main/java/java/util/
H A DMap.java810 * for maps that do not support null values if oldValue is null unless
819 * @param oldValue value expected to be associated with the specified key
829 * @throws NullPointerException if oldValue is null and this map does not
836 default boolean replace(K key, V oldValue, V newValue) { argument
838 if (!Objects.equals(curValue, oldValue) ||
998 * V oldValue = map.get(key);
999 * V newValue = remappingFunction.apply(key, oldValue);
1046 V oldValue;
1047 if ((oldValue = get(key)) != null) {
1048 V newValue = remappingFunction.apply(key, oldValue);
[all...]
H A DHashtable.java506 V oldValue = e.value;
508 return oldValue;
961 public synchronized boolean replace(K key, V oldValue, V newValue) { argument
962 Objects.requireNonNull(oldValue);
971 if (e.value.equals(oldValue)) {
992 V oldValue = e.value;
994 return oldValue;
1298 V oldValue = this.value;
1300 return oldValue;
H A DHashMap.java300 V oldValue = value;
302 return oldValue;
653 V oldValue = e.value;
654 if (!onlyIfAbsent || oldValue == null)
657 return oldValue;
1073 public boolean replace(K key, V oldValue, V newValue) { argument
1076 ((v = e.value) == oldValue || (v != null && v.equals(oldValue)))) {
1088 V oldValue = e.value;
1091 return oldValue;
[all...]
H A DTreeMap.java608 V oldValue = p.value;
610 return oldValue;
981 public boolean replace(K key, V oldValue, V newValue) { argument
983 if (p!=null && Objects.equals(oldValue, p.value)) {
994 V oldValue = p.value;
996 return oldValue;
2127 V oldValue = this.value;
2129 return oldValue;
H A DCollections.java1566 public boolean replace(K key, V oldValue, V newValue) { argument
2706 public boolean replace(K key, V oldValue, V newValue) { argument
2707 synchronized (mutex) {return m.replace(key, oldValue, newValue);}
3721 public boolean replace(K key, V oldValue, V newValue) { argument
3723 return m.replace(key, oldValue, newValue);
4665 public boolean replace(K key, V oldValue, V newValue) { argument
4977 public boolean replace(K key, V oldValue, V newValue) { argument
/libcore/ojluni/src/main/java/java/security/
H A DProvider.java430 public synchronized boolean replace(Object key, Object oldValue, argument
437 return implReplace(key, oldValue, newValue);
771 private boolean implReplace(Object key, Object oldValue, Object newValue) { argument
772 if ((key instanceof String) && (oldValue instanceof String) &&
777 legacyStrings.replace((String)key, (String)oldValue,
780 return super.replace(key, oldValue, newValue);
/libcore/ojluni/src/main/java/java/util/logging/
H A DLogManager.java1805 Object oldValue, Object newValue)
1808 return propertyEventCtor.newInstance(source, prop, oldValue, newValue);
1804 newPropertyChangeEvent(Object source, String prop, Object oldValue, Object newValue) argument

Completed in 328 milliseconds