Searched refs:Timestamped (Results 1 – 3 of 3) sorted by relevance
55 private final LinkedHashMap<K, Timestamped<V>> cachingHashMap;97 Timestamped<V> value = cachingHashMap.get(key); in get()119 Timestamped<V> oldValue = cachingHashMap.put(key, new Timestamped<V>(value, ticker)); in put()129 Timestamped<V> stamped = cachingHashMap.remove(key); in remove()153 for (Entry<K, Timestamped<V>> entry : cachingHashMap.entrySet()) { in clear()206 for (Timestamped<V> val : cachingHashMap.values()) { in containsValue()216 private boolean isExpired(Timestamped<V> stamped) { in isExpired()283 Timestamped<V> value = cachingHashMap.get(key); in getIfPresent()306 private static class Timestamped<V> { class in LocalCache312 public Timestamped(V value, Ticker ticker) { in Timestamped() method in LocalCache.Timestamped[all …]
22 export type Timestamped<T> = { alias27 Timestamped<{omnibox: string; mode: 'SEARCH' | 'COMMAND'}>;30 Timestamped<{startSec: number; endSec: number; resolution: number;}>;
22 Timestamped,36 function chooseLatest<T extends Timestamped<{}>>(current: T, next: T): T {