MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.core.common.utils/LruCache

LruCache

class LruCache<T>(size: Int)

A simple implementation of an LRU cache.

Parameters

jvm

   
T type of the items to save

Constructors

   
LruCache [jvm]
constructor(size: Int)
Create LruCache

Functions

Name Summary
get [jvm]
operator fun get(key: String): T?
set [jvm]
operator fun set(key: String, value: T)