Detailed Description
Base cache interface which declares only the get method and the types of key and value stored in the cache.
- Parameters
-
<K> type key stored in the cache <V> type of value stored in the cache
Inheritance diagram for fiftyone.caching.Cache< K, V >:
Collaboration diagram for fiftyone.caching.Cache< K, V >:
Public Member Functions | |
| V | get (K key) |
| Retrieves the value for key requested. | |
Member Function Documentation
◆ get()
| V fiftyone.caching.Cache< K, V >.get | ( | K | key | ) |
Retrieves the value for key requested.
- Parameters
-
key or the item required
- Returns
- an instance of the value associated with the key or null
Implemented in fiftyone.caching.LruCacheBase< K, V >, and fiftyone.caching.LruLoadingCache< K, V >.
