Searched refs:eldest (Results 1 – 9 of 9) sorted by relevance
/libcore/ojluni/src/test/java/util/LinkedHashMap/ |
D | Cache.java | 40 protected boolean removeEldestEntry(Map.Entry eldest) { in main() 47 int eldest = ((Integer) m.keySet().iterator().next()).intValue(); in main() local 48 if (eldest != Math.max(i-9, 0)) in main() 49 throw new RuntimeException("i = " + i + ", eldest = " +eldest); in main()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LinkedHashMapTest.java | 233 protected boolean removeEldestEntry(Map.Entry eldest) { in test_removeEldestEntry() 262 protected boolean removeEldestEntry(Map.Entry<String, String> eldest) { in test_removeEldestEntry_removeKey() 265 remove(eldest.getKey()); in test_removeEldestEntry_removeKey() 279 protected boolean removeEldestEntry(Map.Entry<String, String> eldest) { in test_removeEldestEntry_removeEntry() 282 remove(eldest.getKey(), eldest.getValue()); in test_removeEldestEntry_removeEntry() 296 protected boolean removeEldestEntry(Map.Entry<String, String> eldest) { in test_removeEldestEntry_orderedAccess() 299 remove(eldest.getKey(), eldest.getValue()); in test_removeEldestEntry_orderedAccess() 315 protected boolean removeEldestEntry(Map.Entry<String, String> eldest) { in test_removeEldestEntry_removeOtherThanPassedEldest() 363 assertNull(eldest(emptyMap)); in test_eldest_empty() 367 assertEntry("key", "value", eldest(createMap("key", "value"))); in test_eldest_nonempty() [all …]
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | LinkedHashMap.annotated.java | 52 public java.util.Map.Entry<K,V> eldest() { throw new RuntimeException("Stub!"); } in eldest() method in LinkedHashMap 54 protected boolean removeEldestEntry(java.util.Map.Entry<K,V> eldest) { throw new RuntimeException("… in removeEldestEntry() argument
|
/libcore/luni/src/main/java/libcore/util/ |
D | BasicLruCache.java | 102 Map.Entry<K, V> toEvict = map.eldest(); in trimToSize()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ExpiringCache.java | 73 protected boolean removeEldestEntry(Map.Entry<String,ExpiringCache.Entry> eldest) { in ExpiringCache()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | LinkedHashMap.java | 119 public java.util.Map.Entry<K, V> eldest() { in eldest() method in LinkedHashMap 123 protected boolean removeEldestEntry(java.util.Map.Entry<K, V> eldest) { in removeEldestEntry() argument
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | LinkedHashMap.annotated.java | 56 protected boolean removeEldestEntry(java.util.Map.Entry<K,V> eldest) { throw new RuntimeException("… in removeEldestEntry() argument
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedHashMap.java | 589 public Map.Entry<K, V> eldest() { in eldest() method in LinkedHashMap 634 protected boolean removeEldestEntry(Map.Entry<K,V> eldest) { in removeEldestEntry() argument
|
/libcore/api/ |
D | module-lib-current.txt | 539 method public java.util.Map.Entry<K,V> eldest();
|