GitHub
Preparing search index...
The search index is not available
ts-utils - v5.0.1-beta.1
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
mxssfd/core -
v5.0.1-
beta.1
str
Repeat
number2
Chinese
chinese2
Number
format
Date
mxssfd/dom -
v5.0.1-
beta.1
mxssfd/bom -
v5.0.1-
beta.1
copy2
Clipboard
mxssfd/types -
v5.0.1-
beta.1
mxssfd/random-
picker -
v5.0.1-
beta.1
@mxssfd/random-picker
List
Cache
constructor
cache
size
set
has
clear
ts-utils - v5.0.1-beta.1
mxssfd/core
ListCache
Class ListCache<T>
Type Parameters
T
Hierarchy
CacheSup
<
T
>
ListCache
Index
Constructors
constructor
Properties
cache
Accessors
size
Methods
set
has
clear
Constructors
constructor
new
List
Cache
<
T
>
(
)
:
ListCache
<
T
>
Type Parameters
T
Returns
ListCache
<
T
>
Properties
Private
cache
cache
:
T
[]
= []
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
set
set
(
value
:
T
)
:
ListCache
<
T
>
Parameters
value:
T
Returns
ListCache
<
T
>
has
has
(
value
:
T
)
:
boolean
Parameters
value:
T
Returns
boolean
clear
clear
(
)
:
void
Returns
void