Searched defs:Entry (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/util/
H A DMap.java34 * {@code Map.Entry} is a key/value mapping contained in a {@code Map}.
36 public static interface Entry<K,V> { interface in interface:Map
38 * Compares the specified object to this {@code Map.Entry} and returns if they
39 * are equal. To be equal, the object must be an instance of {@code Map.Entry} and have the
45 * {@code Map.Entry}, {@code false} otherwise.
116 * an instance of {@link Map.Entry}. As the {@code Set} is backed by this {@code Map},
121 public Set<Map.Entry<K,V>> entrySet();
H A DEnumMap.java51 private static class Entry<KT extends Enum<KT>, VT> extends class in class:EnumMap
57 Entry(KT theKey, VT theValue, EnumMap<KT, VT> em) { method in class:EnumMap.Entry
70 if (object instanceof Map.Entry) {
71 Map.Entry<KT, VT> entry = (Map.Entry<KT, VT>) object;
306 return type.get(new Entry<KT, VT>((KT) enumMap.keys[prePosition],
312 AbstractSet<Map.Entry<KT, VT>> {
327 if (object instanceof Map.Entry) {
328 Object enumKey = ((Map.Entry) object).getKey();
329 Object enumValue = ((Map.Entry) objec
[all...]
H A DWeakHashMap.java42 Entry<K, V>[] elementData;
52 private static <K, V> Entry<K, V>[] newEntryArray(int size) {
53 return new Entry[size];
56 private static final class Entry<K, V> extends WeakReference<K> implements class in class:WeakHashMap
57 Map.Entry<K, V> {
64 Entry<K, V> next;
67 R get(Map.Entry<K, V> entry);
70 Entry(K key, V object, ReferenceQueue<K> queue) { method in class:WeakHashMap.Entry
93 if (!(other instanceof Map.Entry)) {
96 Map.Entry<
[all...]
/libcore/luni/src/main/java/java/security/
H A DKeyStore.java617 * Returns the {@code Entry} with the given alias, using the specified
625 * @return he {@code Entry} with the given alias, using the specified
636 public final Entry getEntry(String alias, ProtectionParameter param)
648 * Stores the given {@code Entry} in this {@code KeyStore} and associates
666 public final void setEntry(String alias, Entry entry,
688 * @return {@code true} if the {@code Entry} for the alias is assignable to
694 Class<? extends KeyStore.Entry> entryClass)
730 * Entry} with the specified alias is requested. Before this method is
736 * Entry} with the specified alias is requested.
998 * Return: ProtectionParameter to get Entry whic
1078 public static interface Entry { interface in class:KeyStore
[all...]
/libcore/luni/src/main/java/libcore/net/http/
H A DHttpResponseCache.java96 Entry entry;
102 entry = new Entry(snapshot.getInputStream(ENTRY_METADATA));
158 Entry entry = new Entry(uri, varyHeaders, httpConnection);
185 Entry entry = new Entry(uri, varyHeaders, httpConnection);
314 private static final class Entry { class in class:HttpResponseCache
369 public Entry(InputStream in) throws IOException { method in class:HttpResponseCache.Entry
405 public Entry(URI uri, RawHeaders varyHeaders, HttpURLConnection httpConnection) { method in class:HttpResponseCache.Entry
520 private final Entry entr
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DDiskLruCache.java148 private final LinkedHashMap<String, Entry> lruEntries
149 = new LinkedHashMap<String, Entry>(0, 0.75f, true);
270 Entry entry = lruEntries.get(key);
272 entry = new Entry(key);
295 for (Iterator<Entry> i = lruEntries.values().iterator(); i.hasNext(); ) {
296 Entry entry = i.next();
332 for (Entry entry : lruEntries.values()) {
363 Entry entry = lruEntries.get(key);
407 Entry entry = lruEntries.get(key);
413 entry = new Entry(ke
792 private final class Entry { class in class:DiskLruCache
807 private Entry(String key) { method in class:DiskLruCache.Entry
[all...]

Completed in 146 milliseconds