Lines Matching defs:eldest
226 * The head (eldest) of the doubly linked list.
321 void afterNodeInsertion(boolean evict) { // possibly remove eldest
491 // Android-added: eldest(), for internal use in LRU caches
493 * Returns the eldest entry in the map, or {@code null} if the map is empty.
496 public Map.Entry<K, V> eldest() {
501 * Returns <tt>true</tt> if this map should remove its eldest entry.
504 * with the opportunity to remove the eldest entry each time a new one
509 * entries and then delete the eldest entry each time a new entry is
514 * protected boolean removeEldestEntry(Map.Entry eldest) {
528 * map acts like a normal map - the eldest element is never removed).
530 * @param eldest The least recently inserted entry in the map, or if
537 * entry, the eldest entry is also the newest.
538 * @return <tt>true</tt> if the eldest entry should be removed
541 protected boolean removeEldestEntry(Map.Entry<K,V> eldest) {