This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class LruCache<K: Hashable, V> { | |
| private class Entity<V> { | |
| let value: V | |
| let key: K | |
| var left: Entity<V>? | |
| var right: Entity<V>? | |
| init(value: V, key: K) { | |
| self.value = value |
NewerOlder