/libcore/ojluni/src/main/java/java/beans/ |
H A D | IndexedPropertyChangeEvent.java | 55 * @param newValue The new 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 D | PropertyChangeEvent.java | 56 * @param newValue the new value of the property 61 Object oldValue, Object newValue) { 64 this.newValue = newValue; 85 return newValue; 131 private Object newValue; field in class:PropertyChangeEvent 158 sb.append("; newValue=").append(getNewValue()); 60 PropertyChangeEvent(Object source, String propertyName, Object oldValue, Object newValue) argument
|
H A D | PropertyChangeSupport.java | 63 * public void setValue(String newValue) { 65 * this.value = newValue; 66 * this.pcs.firePropertyChange("value", oldValue, newValue); 259 * @param newValue the new 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)); 279 * @param newValue the new value of the property 281 public void firePropertyChange(String propertyName, int oldValue, int newValue) { argument 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/prefs/ |
H A D | PreferenceChangeEvent.java | 59 private String newValue; field in class:PreferenceChangeEvent 66 * @param newValue The new value of the preference, or <tt>null</tt> 70 String newValue) { 73 this.newValue = newValue; 101 return newValue; 69 PreferenceChangeEvent(Preferences node, String key, String newValue) argument
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | Temporal.java | 219 * @param newValue the new value of the field in the result 225 Temporal with(TemporalField field, long newValue); argument
|
H A D | TemporalField.java | 300 * @param newValue the new value of the field 306 <R extends Temporal> R adjustInto(R temporal, long newValue); argument
|
H A D | JulianFields.java | 282 public <R extends Temporal> R adjustInto(R temporal, long newValue) { argument 283 if (range().isValidValue(newValue) == false) { 284 throw new DateTimeException("Invalid value: " + name + " " + newValue); 286 return (R) temporal.with(EPOCH_DAY, Math.subtractExact(newValue, offset));
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicBoolean.java | 126 * @param newValue the new value 128 public final void set(boolean newValue) { argument 129 value = newValue ? 1 : 0; 135 * @param newValue the new value 138 public final void lazySet(boolean newValue) { argument 139 U.putOrderedInt(this, VALUE, (newValue ? 1 : 0)); 145 * @param newValue the new value 148 public final boolean getAndSet(boolean newValue) { argument 152 } while (!compareAndSet(prev, newValue));
|
H A D | AtomicReference.java | 93 * @param newValue the new value 95 public final void set(V newValue) { argument 96 value = newValue; 102 * @param newValue the new value 105 public final void lazySet(V newValue) { argument 106 U.putOrderedObject(this, VALUE, newValue); 140 * @param newValue the new value 144 public final V getAndSet(V newValue) { argument 145 return (V)U.getAndSetObject(this, VALUE, newValue);
|
H A D | AtomicInteger.java | 98 * @param newValue the new value 100 public final void set(int newValue) { argument 101 value = newValue; 107 * @param newValue the new value 110 public final void lazySet(int newValue) { argument 111 U.putOrderedInt(this, VALUE, newValue); 117 * @param newValue the new value 120 public final int getAndSet(int newValue) { argument 121 return U.getAndSetInt(this, VALUE, newValue);
|
H A D | AtomicIntegerFieldUpdater.java | 139 * @param newValue the new value 141 public abstract void set(T obj, int newValue); argument 148 * @param newValue the new value 151 public abstract void lazySet(T obj, int newValue); argument 167 * @param newValue the new value 170 public int getAndSet(T obj, int newValue) { argument 174 } while (!compareAndSet(obj, prev, newValue)); 478 public final void set(T obj, int newValue) { argument 480 U.putIntVolatile(obj, offset, newValue); 483 public final void lazySet(T obj, int newValue) { argument 493 getAndSet(T obj, int newValue) argument [all...] |
H A D | AtomicLong.java | 112 * @param newValue the new value 114 public final void set(long newValue) { argument 117 U.putLongVolatile(this, VALUE, newValue); 123 * @param newValue the new value 126 public final void lazySet(long newValue) { argument 127 U.putOrderedLong(this, VALUE, newValue); 133 * @param newValue the new value 136 public final long getAndSet(long newValue) { argument 137 return U.getAndSetLong(this, VALUE, newValue);
|
H A D | AtomicReferenceArray.java | 136 * @param newValue the new value 138 public final void set(int i, E newValue) { argument 139 U.putObjectVolatile(array, checkedByteOffset(i), newValue); 146 * @param newValue the new value 149 public final void lazySet(int i, E newValue) { argument 150 U.putOrderedObject(array, checkedByteOffset(i), newValue); 158 * @param newValue the new value 162 public final E getAndSet(int i, E newValue) { argument 163 return (E)U.getAndSetObject(array, checkedByteOffset(i), newValue);
|
H A D | AtomicReferenceFieldUpdater.java | 157 * @param newValue the new value 159 public abstract void set(T obj, V newValue); argument 166 * @param newValue the new value 169 public abstract void lazySet(T obj, V newValue); argument 185 * @param newValue the new value 188 public V getAndSet(T obj, V newValue) { argument 192 } while (!compareAndSet(obj, prev, newValue)); 422 public final void set(T obj, V newValue) { argument 424 valueCheck(newValue); 425 U.putObjectVolatile(obj, offset, newValue); 428 lazySet(T obj, V newValue) argument 441 getAndSet(T obj, V newValue) argument [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
H A D | MockFieldNoValue.java | 121 public <R extends Temporal> R adjustInto(R temporal, long newValue) { argument
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_OutputStream.java | 107 public void setThrowsException(boolean newValue) { argument 108 throwsException = newValue;
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentMap.java | 198 * map.put(key, newValue); 211 * @param newValue value to be associated with the specified key 222 boolean replace(K key, V oldValue, V newValue); argument 308 * V oldValue, newValue; 310 * && (newValue = mappingFunction.apply(key)) != null 311 * && (oldValue = map.putIfAbsent(key, newValue)) == null) 312 * ? newValue 330 V oldValue, newValue; 332 && (newValue = mappingFunction.apply(key)) != null 333 && (oldValue = putIfAbsent(key, newValue)) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldObjectStreamFieldTest.java | 55 public void setOffset(int newValue) { argument 56 super.setOffset(newValue);
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | ChronoLocalDateTime.java | 275 ChronoLocalDateTime<D> with(TemporalField field, long newValue); argument
|
H A D | ChronoLocalDate.java | 435 default ChronoLocalDate with(TemporalField field, long newValue) { argument 439 return ChronoLocalDateImpl.ensureValid(getChronology(), field.adjustInto(this, newValue));
|
H A D | ChronoLocalDateTimeImpl.java | 290 public ChronoLocalDateTimeImpl<D> with(TemporalField field, long newValue) { argument 294 return with(date, time.with(field, newValue)); 296 return with(date.with(field, newValue), time); 299 return ChronoLocalDateTimeImpl.ensureValid(date.getChronology(), field.adjustInto(this, newValue));
|
H A D | ChronoZonedDateTime.java | 422 ChronoZonedDateTime<D> with(TemporalField field, long newValue); argument
|
H A D | ChronoZonedDateTimeImpl.java | 284 public ChronoZonedDateTime<D> with(TemporalField field, long newValue) { argument 288 case INSTANT_SECONDS: return plus(newValue - toEpochSecond(), SECONDS); 290 ZoneOffset offset = ZoneOffset.ofTotalSeconds(f.checkValidIntValue(newValue)); 294 return ofBest(dateTime.with(field, newValue), zone, offset); 296 return ChronoZonedDateTimeImpl.ensureValid(getChronology(), field.adjustInto(this, newValue));
|
H A D | MinguoDate.java | 305 public MinguoDate with(TemporalField field, long newValue) { argument 308 if (getLong(f) == newValue) { 313 getChronology().range(f).checkValidValue(newValue, f); 314 return plusMonths(newValue - getProlepticMonth()); 318 int nvalue = getChronology().range(f).checkValidIntValue(newValue, f); 329 return with(isoDate.with(field, newValue)); 331 return super.with(field, newValue);
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
H A D | CopticDate.java | 233 public CopticDate with(TemporalField field, long newValue) { argument 236 f.checkValidValue(newValue); // TODO: validate value 237 int nvalue = (int) newValue; 239 case DAY_OF_WEEK: return plusDays(newValue - get(ChronoField.DAY_OF_WEEK)); 240 case ALIGNED_DAY_OF_WEEK_IN_MONTH: return plusDays(newValue - getLong(ALIGNED_DAY_OF_WEEK_IN_MONTH)); 241 case ALIGNED_DAY_OF_WEEK_IN_YEAR: return plusDays(newValue - getLong(ALIGNED_DAY_OF_WEEK_IN_YEAR)); 245 case ALIGNED_WEEK_OF_MONTH: return plusDays((newValue - getLong(ALIGNED_WEEK_OF_MONTH)) * 7); 246 case ALIGNED_WEEK_OF_YEAR: return plusDays((newValue - getLong(ALIGNED_WEEK_OF_YEAR)) * 7); 254 return field.adjustInto(this, newValue);
|