Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/libcore/ojluni/annotations/flagged_api/java/util/concurrent/
DConcurrentSkipListMap.annotated.java52 public boolean containsKey(java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
54 public V get(java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
56 public V getOrDefault(java.lang.Object key, V defaultValue) { throw new RuntimeException("Stub!"); } in getOrDefault()
58 public V put(K key, V value) { throw new RuntimeException("Stub!"); } in put()
60 public V remove(java.lang.Object key) { throw new RuntimeException("Stub!"); } in remove()
70 public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)… in computeIfAbsent() argument
72 public V computeIfPresent(K key, java.util.function.BiFunction<? super K,? super V,? extends V> rem… in computeIfPresent() argument
74 public V compute(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFun… in compute() argument
76 public V merge(K key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> remap… in merge()
92 public V putIfAbsent(K key, V value) { throw new RuntimeException("Stub!"); } in putIfAbsent()
[all …]
/libcore/ojluni/annotations/flagged_api/java/util/
DTreeMap.annotated.java43 public boolean containsKey(java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
47 public V get(java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
63 public V put(K key, V value) { throw new RuntimeException("Stub!"); } in put()
65 public V putIfAbsent(K key, V value) { throw new RuntimeException("Stub!"); } in putIfAbsent()
67 public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)… in computeIfAbsent() argument
69 public V computeIfPresent(K key, java.util.function.BiFunction<? super K,? super V,? extends V> rem… in computeIfPresent() argument
71 public V compute(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFun… in compute() argument
73 public V merge(K key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> remap… in merge()
75 public V remove(java.lang.Object key) { throw new RuntimeException("Stub!"); } in remove()
89 public java.util.Map.Entry<K,V> lowerEntry(K key) { throw new RuntimeException("Stub!"); } in lowerEntry()
[all …]
DHashMap.annotated.java44 public V get(java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
46 public boolean containsKey(java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
48 public V put(K key, V value) { throw new RuntimeException("Stub!"); } in put()
52 public V remove(java.lang.Object key) { throw new RuntimeException("Stub!"); } in remove()
64 public V getOrDefault(java.lang.Object key, V defaultValue) { throw new RuntimeException("Stub!"); } in getOrDefault()
66 public V putIfAbsent(K key, V value) { throw new RuntimeException("Stub!"); } in putIfAbsent()
68 public boolean remove(java.lang.Object key, java.lang.Object value) { throw new RuntimeException("S… in remove()
70 public boolean replace(K key, V oldValue, V newValue) { throw new RuntimeException("Stub!"); } in replace()
72 public V replace(K key, V value) { throw new RuntimeException("Stub!"); } in replace()
74 public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)… in computeIfAbsent() argument
[all …]
DNavigableMap.annotated.java42 public java.util.Map.Entry<K,V> lowerEntry(K key); in lowerEntry()
44 public K lowerKey(K key); in lowerKey()
46 public java.util.Map.Entry<K,V> floorEntry(K key); in floorEntry()
48 public K floorKey(K key); in floorKey()
50 public java.util.Map.Entry<K,V> ceilingEntry(K key); in ceilingEntry()
52 public K ceilingKey(K key); in ceilingKey()
54 public java.util.Map.Entry<K,V> higherEntry(K key); in higherEntry()
56 public K higherKey(K key); in higherKey()
DProperties.annotated.java40 public synchronized java.lang.Object setProperty(java.lang.String key, java.lang.String value) { th… in setProperty()
62 public java.lang.String getProperty(java.lang.String key) { throw new RuntimeException("Stub!"); } in getProperty()
64 public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue) { throw ne… in getProperty()
86 public boolean containsKey(java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
88 public java.lang.Object get(java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
90 public synchronized java.lang.Object put(java.lang.Object key, java.lang.Object value) { throw new … in put()
92 public synchronized java.lang.Object remove(java.lang.Object key) { throw new RuntimeException("Stu… in remove()
110 public java.lang.Object getOrDefault(java.lang.Object key, java.lang.Object defaultValue) { throw n… in getOrDefault()
116 public synchronized java.lang.Object putIfAbsent(java.lang.Object key, java.lang.Object value) { th… in putIfAbsent()
118 public synchronized boolean remove(java.lang.Object key, java.lang.Object value) { throw new Runtim… in remove()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/spec/
DDESKeySpec.java44 private byte[] key; field in DESKeySpec
130 public DESKeySpec(byte[] key) throws InvalidKeyException { in DESKeySpec()
153 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec()
186 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
219 public static boolean isWeak(byte[] key, int offset) in isWeak()
DDESedeKeySpec.java44 private byte[] key; field in DESedeKeySpec
61 public DESedeKeySpec(byte[] key) throws InvalidKeyException { in DESedeKeySpec()
83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec()
114 public static boolean isParityAdjusted(byte[] key, int offset) in isParityAdjusted()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DHashMap.annotated.java45 … public V get(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
47 …n containsKey(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
49 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in put()
53 …blic V remove(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in remove()
65 …va.lang.Object key, @libcore.util.Nullable V defaultValue) { throw new RuntimeException("Stub!"); } in getOrDefault()
67 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in putIfAbsent()
69 …Object key, @libcore.util.Nullable java.lang.Object value) { throw new RuntimeException("Stub!"); } in remove()
71 …le V oldValue, @libcore.util.NullFromTypeParam V newValue) { throw new RuntimeException("Stub!"); } in replace()
73 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in replace()
75 …nNull java.util.function.Function<? super @libcore.util.NullFromTypeParam K,? extends @libcore.uti… in computeIfAbsent()
[all …]
DTreeMap.annotated.java44 …n containsKey(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in containsKey()
48 … public V get(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in get()
58 …mTypeParam K key, @libcore.util.NullFromTypeParam V value) { throw new RuntimeException("Stub!"); } in put()
60 …blic V remove(@libcore.util.Nullable java.lang.Object key) { throw new RuntimeException("Stub!"); } in remove()
74 …FromTypeParam V> lowerEntry(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("S… in lowerEntry()
76 …e public K lowerKey(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("Stub!"); } in lowerKey()
78 …FromTypeParam V> floorEntry(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("S… in floorEntry()
80 …e public K floorKey(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("Stub!"); } in floorKey()
82 …FromTypeParam V> ceilingEntry(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException(… in ceilingEntry()
84 …public K ceilingKey(@libcore.util.NullFromTypeParam K key) { throw new RuntimeException("Stub!"); } in ceilingKey()
[all …]
DNavigableMap.annotated.java43 …mTypeParam K, @libcore.util.NullFromTypeParam V> lowerEntry(@libcore.util.NullFromTypeParam K key); in lowerEntry()
45 @libcore.util.Nullable public K lowerKey(@libcore.util.NullFromTypeParam K key); in lowerKey()
47 …mTypeParam K, @libcore.util.NullFromTypeParam V> floorEntry(@libcore.util.NullFromTypeParam K key); in floorEntry()
49 @libcore.util.Nullable public K floorKey(@libcore.util.NullFromTypeParam K key); in floorKey()
51 …ypeParam K, @libcore.util.NullFromTypeParam V> ceilingEntry(@libcore.util.NullFromTypeParam K key); in ceilingEntry()
53 @libcore.util.Nullable public K ceilingKey(@libcore.util.NullFromTypeParam K key); in ceilingKey()
55 …TypeParam K, @libcore.util.NullFromTypeParam V> higherEntry(@libcore.util.NullFromTypeParam K key); in higherEntry()
57 @libcore.util.Nullable public K higherKey(@libcore.util.NullFromTypeParam K key); in higherKey()
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockKeyAgreementSpi.java35 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
44 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
55 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
59 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
82 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
87 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DMockCipherSpi.java40 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
49 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit()
144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit()
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMockKeyAgreementSpi.java34 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
43 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
53 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType()
57 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase()
80 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit()
85 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
DExemptionMechanismTest.java129 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testIsCryptoAllowed() local
161 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testGenExemptionBlob() local
203 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob() local
241 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$B() local
281 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$BI() local
378 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getName() local
393 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getOutputSizeI() local
416 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getProvider() local
431 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_Key() local
465 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() local
[all …]
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java246 public void put(String key, String value) { in put()
285 public String get(String key, String def) { in get()
317 public void remove(String key) { in remove()
366 public void putInt(String key, int value) { in putInt()
392 public int getInt(String key, int def) { in getInt()
421 public void putLong(String key, long value) { in putLong()
447 public long getLong(String key, long def) { in getLong()
476 public void putBoolean(String key, boolean value) { in putBoolean()
505 public boolean getBoolean(String key, boolean def) { in getBoolean()
534 public void putFloat(String key, float value) { in putFloat()
[all …]
DPreferences.java546 public abstract void put(String key, String value); in put()
569 public abstract String get(String key, String def); in get()
585 public abstract void remove(String key); in remove()
622 public abstract void putInt(String key, int value); in putInt()
654 public abstract int getInt(String key, int def); in getInt()
672 public abstract void putLong(String key, long value); in putLong()
704 public abstract long getLong(String key, long def); in getLong()
723 public abstract void putBoolean(String key, boolean value); in putBoolean()
759 public abstract boolean getBoolean(String key, boolean def); in getBoolean()
777 public abstract void putFloat(String key, float value); in putFloat()
[all …]
/libcore/ojluni/src/main/java/java/util/
DNavigableMap.java117 Map.Entry<K,V> lowerEntry(K key); in lowerEntry()
131 K lowerKey(K key); in lowerKey()
146 Map.Entry<K,V> floorEntry(K key); in floorEntry()
160 K floorKey(K key); in floorKey()
175 Map.Entry<K,V> ceilingEntry(K key); in ceilingEntry()
189 K ceilingKey(K key); in ceilingKey()
204 Map.Entry<K,V> higherEntry(K key); in higherEntry()
218 K higherKey(K key); in higherKey()
/libcore/luni/src/main/java/libcore/util/
DBasicLruCache.java49 public final V get(K key) { in get()
88 public synchronized final V put(K key, V value) { in put()
104 K key = toEvict.getKey(); in trimToSize() local
116 protected void entryEvicted(K key, V value) {} in entryEvicted()
123 protected V create(K key) { in create()
/libcore/ojluni/src/main/java/sun/util/locale/
DLocaleObjectCache.java51 public V get(K key) { in get()
82 protected V put(K key, V value) { in put()
97 protected abstract V createObject(K key); in createObject()
99 protected K normalizeKey(K key) { in normalizeKey()
104 private K key; field in LocaleObjectCache.CacheEntry
106 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry()
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentMap.java86 default V getOrDefault(Object key, V defaultValue) { in getOrDefault()
157 V putIfAbsent(K key, V value); in putIfAbsent()
188 boolean remove(Object key, Object value); in remove()
220 boolean replace(K key, V oldValue, V newValue); in replace()
252 V replace(K key, V value); in replace()
325 default V computeIfAbsent(K key, in computeIfAbsent()
367 default V computeIfPresent(K key, in computeIfPresent()
415 default V compute(K key, in compute()
475 default V merge(K key, V value, in merge()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DPreferencesTest.java281 public String get(String key, String deflt) { in get()
286 public boolean getBoolean(String key, boolean deflt) { in getBoolean()
291 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray()
296 public double getDouble(String key, double deflt) { in getDouble()
301 public float getFloat(String key, float deflt) { in getFloat()
306 public int getInt(String key, int deflt) { in getInt()
311 public long getLong(String key, long deflt) { in getLong()
346 public void put(String key, String value) { in put()
351 public void putBoolean(String key, boolean value) { in putBoolean()
356 public void putByteArray(String key, byte[] value) { in putByteArray()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/
DPBEKeyTest.java43 checkPBEKey key = new checkPBEKey(); in testField() local
50 checkPBEKey key = new checkPBEKey(); in test_getIterationCount() local
56 checkPBEKey key = new checkPBEKey(); in test_getPassword() local
62 checkPBEKey key = new checkPBEKey(); in test_getSalt() local
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractWatchService.java71 final void enqueueKey(WatchKey key) { in enqueueKey()
87 private void checkKey(WatchKey key) { in checkKey()
98 WatchKey key = pendingKeys.poll(); in poll() local
108 WatchKey key = pendingKeys.poll(timeout, unit); in poll() local
118 WatchKey key = pendingKeys.take(); in take() local
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java61 public synchronized java.lang.Object put(java.lang.Object key, java.lang.Object value) { throw new … in put()
63 public synchronized java.lang.Object putIfAbsent(java.lang.Object key, java.lang.Object value) { th… in putIfAbsent()
65 public synchronized java.lang.Object remove(java.lang.Object key) { throw new RuntimeException("Stu… in remove()
67 public synchronized boolean remove(java.lang.Object key, java.lang.Object value) { throw new Runtim… in remove()
69 public synchronized boolean replace(java.lang.Object key, java.lang.Object oldValue, java.lang.Obje… in replace()
71 public synchronized java.lang.Object replace(java.lang.Object key, java.lang.Object value) { throw … in replace()
75 public synchronized java.lang.Object compute(java.lang.Object key, java.util.function.BiFunction<? … in compute()
77 public synchronized java.lang.Object computeIfAbsent(java.lang.Object key, java.util.function.Funct… in computeIfAbsent()
79 public synchronized java.lang.Object computeIfPresent(java.lang.Object key, java.util.function.BiFu… in computeIfPresent()
81 public synchronized java.lang.Object merge(java.lang.Object key, java.lang.Object value, java.util.… in merge()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DCache.java91 public abstract void put(K key, V value); in put()
96 public abstract V get(Object key); in get()
101 public abstract void remove(Object key); in remove()
106 public abstract V pull(Object key); in pull()
220 public void put(K key, V value) { in put()
224 public V get(Object key) { in get()
228 public void remove(Object key) { in remove()
232 public V pull(Object key) { in pull()
299 K key = entry.getKey(); in emptyQueue() local
371 public synchronized void put(K key, V value) { in put()
[all …]

12345678910>>...15