toggle menu
router
1.3.0-rc2
androidJvm
switch theme
search in API
router
/
com.therouter.inject
/
RecyclerLruCache
Recycler
Lru
Cache
class
RecyclerLruCache
<
K
,
V
>
(
maxSize
:
Int
)
:
LruCache
<
K
,
V
>
Members
Constructors
Recycler
Lru
Cache
Link copied to clipboard
constructor
(
maxSize
:
Int
)
Types
On
Entry
Removed
Listener
Link copied to clipboard
interface
OnEntryRemovedListener
<
K
,
V
>
Functions
create
Count
Link copied to clipboard
fun
createCount
(
)
:
Int
evict
All
Link copied to clipboard
fun
evictAll
(
)
eviction
Count
Link copied to clipboard
fun
evictionCount
(
)
:
Int
get
Link copied to clipboard
operator
fun
get
(
p0
:
K
)
:
V
hit
Count
Link copied to clipboard
fun
hitCount
(
)
:
Int
max
Size
Link copied to clipboard
fun
maxSize
(
)
:
Int
miss
Count
Link copied to clipboard
fun
missCount
(
)
:
Int
put
Link copied to clipboard
fun
put
(
p0
:
K
,
p1
:
V
)
:
V
put
Count
Link copied to clipboard
fun
putCount
(
)
:
Int
remove
Link copied to clipboard
fun
remove
(
p0
:
K
)
:
V
resize
Link copied to clipboard
open
fun
resize
(
p0
:
Int
)
set
On
Entry
Removed
Listener
Link copied to clipboard
fun
setOnEntryRemovedListener
(
listener
:
RecyclerLruCache.OnEntryRemovedListener
<
K
,
V
>
?
)
fun
setOnEntryRemovedListener
(
block
:
(
key
:
K
,
oldValue
:
V
,
newValue
:
V
)
->
Unit
)
size
Link copied to clipboard
fun
size
(
)
:
Int
snapshot
Link copied to clipboard
fun
snapshot
(
)
:
MutableMap
<
K
,
V
>
to
String
Link copied to clipboard
override
fun
toString
(
)
:
String
trim
To
Size
Link copied to clipboard
open
fun
trimToSize
(
p0
:
Int
)