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

/libcore/ojluni/src/main/java/sun/security/util/
H A DAlgorithmDecomposer.java136 private static void hasLoop(Set<String> elements, String find, String replace) { argument
138 if (!elements.contains(replace)) {
139 elements.add(replace);
170 return algorithm.replace("-", "");
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentMap.java222 boolean replace(K key, V oldValue, V newValue); method in interface:ConcurrentMap
254 V replace(K key, V value); method in interface:ConcurrentMap
268 * } while (!map.replace(k, v, function.apply(k, v)));
290 while (!replace(k, v, function.apply(k, v))) {
350 * : map.replace(key, oldValue, newValue))
376 : replace(key, oldValue, newValue))
395 * ? map.replace(key, oldValue, newValue)
426 if (replace(key, oldValue, newValue))
453 * if (map.replace(key, oldValue, newValue))
488 if (replace(ke
[all...]
H A DConcurrentSkipListMap.java90 * {@code replace}, depending on exactly which effect you need.)
187 * concurrent replace vs delete operations -- an attempted replace
840 break; // restart if lost race to replace value
1980 public boolean replace(K key, V oldValue, V newValue) { method in class:ConcurrentSkipListMap
2005 public V replace(K key, V value) { method in class:ConcurrentSkipListMap
2894 public boolean replace(K key, V oldValue, V newValue) { method in class:ConcurrentSkipListMap.SubMap
2896 return m.replace(key, oldValue, newValue);
2899 public V replace(K key, V value) { method in class:ConcurrentSkipListMap.SubMap
2901 return m.replace(ke
[all...]
H A DConcurrentHashMap.java311 * delete, and replace) require locks. We do not want to waste
387 * cloning when a table doubles. The nodes they replace will be
1086 * These mappings replace any mappings that this map had for any of the
1111 * Implementation for the four public remove/replace methods:
1570 public boolean replace(K key, V oldValue, V newValue) { method in class:ConcurrentHashMap
1583 public V replace(K key, V value) { method in class:ConcurrentHashMap
/libcore/ojluni/src/main/java/java/lang/
H A DStringBuilder.java262 public StringBuilder replace(int start, int end, String str) { method in class:StringBuilder
263 super.replace(start, end, str);
H A DStringBuffer.java450 public synchronized StringBuffer replace(int start, int end, String str) { method in class:StringBuffer
452 super.replace(start, end, str);
H A DAbstractStringBuilder.java861 * @param str String that will replace previous contents.
868 public AbstractStringBuilder replace(int start, int end, String str) { method in class:AbstractStringBuilder
H A DString.java2122 * "mesquite in your cellar".replace('e', 'o')
2124 * "the war of baronets".replace('r', 'y')
2126 * "sparring with a purple porpoise".replace('p', 't')
2128 * "JonL".replace('q', 'x') returns "JonL" (no change)
2136 public String replace(char oldChar, char newChar) { method in class:String
2151 // Implementation of replace(char oldChar, char newChar) called when we found a match.
2301 public String replace(CharSequence target, CharSequence replacement) { method in class:String
/libcore/ojluni/src/main/java/sun/misc/
H A DRegexpPool.java74 public void replace(String re, Object ret) { method in class:RegexpPool
78 // should never occur if replace is true
165 private void add(String re, Object ret, boolean replace) throws REException { argument
184 if (p.result != null && !replace)
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileLockTable.java73 public abstract void replace(FileLock fl1, FileLock fl2); method in class:FileLockTable
229 public void replace(FileLock fromLock, FileLock toLock) { method in class:SharedFileLockTable
H A DFileChannelImpl.java1104 flt.replace(fli, fli2);
1152 flt.replace(fli, fli2);
1218 public void replace(FileLock fl1, FileLock fl2) { method in class:FileChannelImpl.SimpleFileLockTable
/libcore/ojluni/src/main/java/java/util/
H A DMap.java836 default boolean replace(K key, V oldValue, V newValue) { method in interface:Map
884 default V replace(K key, V value) { method in interface:Map
1152 // add or replace old mapping
H A DHashtable.java516 * These mappings will replace any mappings that this hashtable had for any
961 public synchronized boolean replace(K key, V oldValue, V newValue) { method in class:Hashtable
983 public synchronized V replace(K key, V value) { method in class:Hashtable
H A DHashMap.java777 * These mappings will replace any mappings that this map had for
1073 public boolean replace(K key, V oldValue, V newValue) { method in class:HashMap
1085 public V replace(K key, V value) { method in class:HashMap
H A DTreeMap.java303 * These mappings replace any mappings that this map had for any
981 public boolean replace(K key, V oldValue, V newValue) { method in class:TreeMap
991 public V replace(K key, V value) { method in class:TreeMap
2681 * right-hand splits replace the current fence with its left
H A DCollections.java1566 public boolean replace(K key, V oldValue, V newValue) { method in class:Collections.UnmodifiableMap
1571 public V replace(K key, V value) { method in class:Collections.UnmodifiableMap
2706 public boolean replace(K key, V oldValue, V newValue) { method in class:Collections.SynchronizedMap
2707 synchronized (mutex) {return m.replace(key, oldValue, newValue);}
2710 public V replace(K key, V value) { method in class:Collections.SynchronizedMap
2711 synchronized (mutex) {return m.replace(key, value);}
3721 public boolean replace(K key, V oldValue, V newValue) { method in class:Collections.CheckedMap
3723 return m.replace(key, oldValue, newValue);
3727 public V replace(K key, V value) { method in class:Collections.CheckedMap
3729 return m.replace(ke
4665 public boolean replace(K key, V oldValue, V newValue) { method in class:Collections.EmptyMap
4670 public V replace(K key, V value) { method in class:Collections.EmptyMap
4977 public boolean replace(K key, V oldValue, V newValue) { method in class:Collections.SingletonMap
4982 public V replace(K key, V value) { method in class:Collections.SingletonMap
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DProvider.java244 * These mappings will replace any properties that this provider had
430 public synchronized boolean replace(Object key, Object oldValue, method in class:Provider
457 public synchronized Object replace(Object key, Object value) { method in class:Provider
777 legacyStrings.replace((String)key, (String)oldValue,
780 return super.replace(key, oldValue, newValue);
788 legacyStrings.replace((String)key, (String)value);
790 return super.replace(key, value);
1642 + cap.constructorParameterClassName.replace('$', '.')

Completed in 386 milliseconds