Search
Preparing search index...
The search index is not available
Winter Cardinal
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
controller/data/internal
SListBaseMemory
Class SListBaseMemory<V, P, PS>
Type parameters
V
P
:
SListBasePatch
<
V
>
PS
:
SListBasePatches
<
V
,
P
>
Hierarchy
SContainerMemory
<
Array
<
V
|
null
>
,
P
,
PS
>
SListBaseMemory
SMovableListMemory
SListMemory
Index
Constructors
constructor
Properties
_patches
_values
Methods
add
All_
add
All__
add_
add__
clear
And
Add
All_
clear
And
Add
All__
clear
And
Add_
clear
And
Add__
clear_
clear__
contains
All_
contains_
each_
filter_
filter__
find_
from
Json_
from
String_
get
And
Increment
Revision_
get
Revision_
get
Wrapper_
get_
index
Of_
initialize_
is
Empty_
is
Initialized_
is
Locked_
is
Non
Null_
is
Patch
Applicable_
is
Patch
Empty_
is
Read
Only_
last
Index
Of_
lock_
make
Init
Values_
merge
Events_
new
Init
Args_
new
Value
Args_
on
Add
All_
on
Add_
on
Clear_
on
Merged
Event_
on
Remove_
on
Set_
patch
Reset_
patch_
push
Change
Event_
push
Event_
remove_
remove__
reset
Authorized
Revision_
reset_
reset__
set_
set__
size_
to
Array
Object_
to
Array_
to
Event
Data_
to
Json_
to
String_
to
Updated_
trigger
Events_
uninitialize_
unlock_
Constructors
constructor
new SList
Base
Memory
(
parent
:
SContainerParentMemory
, name
:
string
, properties
:
Properties
, lock
:
Lock
, wrapperConstructor
:
WrapperConstructor
, patches
:
PS
)
:
SListBaseMemory
Parameters
parent:
SContainerParentMemory
name:
string
properties:
Properties
lock:
Lock
wrapperConstructor:
WrapperConstructor
patches:
PS
Returns
SListBaseMemory
Properties
Protected
_patches
_patches
:
PS
Protected
_values
_values
:
Array
<
V
|
null
>
Methods
add
All_
add
All_
(
index
:
number
, values
:
ArrayLike
<
V
|
null
>
)
:
boolean
Parameters
index:
number
values:
ArrayLike
<
V
|
null
>
Returns
boolean
Private
add
All__
add
All__
(
index
:
number
, values
:
ArrayLike
<
V
|
null
>
)
:
boolean
Parameters
index:
number
values:
ArrayLike
<
V
|
null
>
Returns
boolean
add_
add_
(
index
:
number
, value
:
V
|
null
)
:
boolean
Parameters
index:
number
value:
V
|
null
Returns
boolean
Private
add__
add__
(
index
:
number
, value
:
V
|
null
)
:
boolean
Parameters
index:
number
value:
V
|
null
Returns
boolean
clear
And
Add
All_
clear
And
Add
All_
(
values
:
ArrayLike
<
V
|
null
>
)
:
boolean
Parameters
values:
ArrayLike
<
V
|
null
>
Returns
boolean
Private
clear
And
Add
All__
clear
And
Add
All__
(
newValues
:
ArrayLike
<
V
|
null
>
)
:
boolean
Parameters
newValues:
ArrayLike
<
V
|
null
>
Returns
boolean
clear
And
Add_
clear
And
Add_
(
value
:
V
|
null
)
:
boolean
Parameters
value:
V
|
null
Returns
boolean
Private
clear
And
Add__
clear
And
Add__
(
newValue
:
V
|
null
)
:
boolean
Parameters
newValue:
V
|
null
Returns
boolean
clear_
clear_
(
)
:
this
Returns
this
Private
clear__
clear__
(
)
:
void
Returns
void
contains
All_
contains
All_
(
values
:
ArrayLike
<
V
|
null
>
, comparator
:
Comparator
, thisArg
:
unknown
)
:
boolean
Parameters
values:
ArrayLike
<
V
|
null
>
comparator:
Comparator
thisArg:
unknown
Returns
boolean
contains_
contains_
(
value
:
V
|
null
, comparator
:
Comparator
, thisArg
:
unknown
)
:
boolean
Parameters
value:
V
|
null
comparator:
Comparator
thisArg:
unknown
Returns
boolean
each_
each_
(
iteratee
:
Iteratee
<
number
,
V
|
null
,
any
>
, thisArg
:
unknown
, reverse
:
boolean
)
:
this
Parameters
iteratee:
Iteratee
<
number
,
V
|
null
,
any
>
thisArg:
unknown
reverse:
boolean
Returns
this
filter_
filter_
(
iteratee
:
Iteratee
<
number
,
V
|
null
,
any
>
, thisArg
:
unknown
)
:
this
Parameters
iteratee:
Iteratee
<
number
,
V
|
null
,
any
>
thisArg:
unknown
Returns
this
Private
filter__
filter__
(
iteratee
:
Iteratee
<
number
,
V
|
null
,
any
>
, thisArg
:
unknown
)
:
void
Parameters
iteratee:
Iteratee
<
number
,
V
|
null
,
any
>
thisArg:
unknown
Returns
void
find_
find_
(
predicate
:
Iteratee
<
number
,
V
|
null
,
any
>
, thisArg
:
unknown
, reverse
:
boolean
)
:
V
|
null
Parameters
predicate:
Iteratee
<
number
,
V
|
null
,
any
>
thisArg:
unknown
reverse:
boolean
Returns
V
|
null
from
Json_
from
Json_
(
json
:
unknown
)
:
void
Parameters
json:
unknown
Returns
void
from
String_
from
String_
(
str
:
string
)
:
void
Parameters
str:
string
Returns
void
get
And
Increment
Revision_
get
And
Increment
Revision_
(
)
:
number
Returns
number
get
Revision_
get
Revision_
(
)
:
number
Returns
number
get
Wrapper_
get
Wrapper_
(
)
:
Connectable
Returns
Connectable
get_
get_
(
index
:
number
)
:
V
|
null
Parameters
index:
number
Returns
V
|
null
index
Of_
index
Of_
(
value
:
V
|
null
, comparator
:
Comparator
, thisArg
:
unknown
)
:
number
Parameters
value:
V
|
null
comparator:
Comparator
thisArg:
unknown
Returns
number
initialize_
initialize_
(
)
:
void
Returns
void
is
Empty_
is
Empty_
(
)
:
boolean
Returns
boolean
is
Initialized_
is
Initialized_
(
)
:
boolean
Returns
boolean
is
Locked_
is
Locked_
(
)
:
boolean
Returns
boolean
is
Non
Null_
is
Non
Null_
(
)
:
boolean
Returns
boolean
is
Patch
Applicable_
is
Patch
Applicable_
(
patches
:
unknown
[]
, revision
:
number
, hasNoPatches
:
boolean
)
:
boolean
Parameters
patches:
unknown
[]
revision:
number
hasNoPatches:
boolean
Returns
boolean
is
Patch
Empty_
is
Patch
Empty_
(
patches
:
unknown
[]
)
:
boolean
Parameters
patches:
unknown
[]
Returns
boolean
is
Read
Only_
is
Read
Only_
(
)
:
boolean
Returns
boolean
last
Index
Of_
last
Index
Of_
(
value
:
V
|
null
, comparator
:
Comparator
, thisArg
:
unknown
)
:
number
Parameters
value:
V
|
null
comparator:
Comparator
thisArg:
unknown
Returns
number
lock_
lock_
(
)
:
void
Returns
void
Protected
make
Init
Values_
make
Init
Values_
(
)
:
Array
<
V
|
null
>
Returns
Array
<
V
|
null
>
merge
Events_
merge
Events_
(
argsA
:
unknown
[]
, argsB
:
unknown
[]
, isFirst
:
boolean
)
:
void
Parameters
argsA:
unknown
[]
argsB:
unknown
[]
isFirst:
boolean
Returns
void
Protected
new
Init
Args_
new
Init
Args_
(
)
:
unknown
[]
Returns
unknown
[]
Protected
new
Value
Args_
new
Value
Args_
(
initArgs
:
[
unknown
,
AddedListItems
<
V
>
]
)
:
unknown
[]
Parameters
initArgs:
[
unknown
,
AddedListItems
<
V
>
]
Returns
unknown
[]
on
Add
All_
on
Add
All_
(
index
:
number
, values
:
ArrayLike
<
V
|
null
>
)
:
boolean
Parameters
index:
number
values:
ArrayLike
<
V
|
null
>
Returns
boolean
on
Add_
on
Add_
(
index
:
number
, value
:
V
|
null
)
:
boolean
Parameters
index:
number
value:
V
|
null
Returns
boolean
on
Clear_
on
Clear_
(
)
:
void
Returns
void
on
Merged
Event_
on
Merged
Event_
(
args
:
unknown
[]
)
:
void
Parameters
args:
unknown
[]
Returns
void
on
Remove_
on
Remove_
(
index
:
number
)
:
void
Parameters
index:
number
Returns
void
on
Set_
on
Set_
(
index
:
number
, newValue
:
V
|
null
)
:
void
Parameters
index:
number
newValue:
V
|
null
Returns
void
patch
Reset_
patch
Reset_
(
values
:
Array
<
V
|
null
>
, list
:
Array
<
V
|
null
>
, added
:
AddedListItems
<
V
>
, removed
:
RemovedListItems
<
V
>
, updated
:
UpdatedListItems
<
V
>
)
:
void
Parameters
values:
Array
<
V
|
null
>
list:
Array
<
V
|
null
>
added:
AddedListItems
<
V
>
removed:
RemovedListItems
<
V
>
updated:
UpdatedListItems
<
V
>
Returns
void
Abstract
patch_
patch_
(
patches
:
unknown
[]
)
:
unknown
[]
|
null
Parameters
patches:
unknown
[]
Returns
unknown
[]
|
null
push
Change
Event_
push
Change
Event_
(
initArg
:
unknown
|
null
, changeArgs
:
unknown
[]
)
:
void
Parameters
initArg:
unknown
|
null
changeArgs:
unknown
[]
Returns
void
push
Event_
push
Event_
(
name
:
string
, args
:
unknown
[]
)
:
void
Parameters
name:
string
args:
unknown
[]
Returns
void
remove_
remove_
(
index
:
number
)
:
V
|
null
Parameters
index:
number
Returns
V
|
null
Private
remove__
remove__
(
index
:
number
)
:
V
|
null
Parameters
index:
number
Returns
V
|
null
reset
Authorized
Revision_
reset
Authorized
Revision_
(
)
:
void
Returns
void
reset_
reset_
(
index
:
number
)
:
V
|
null
Parameters
index:
number
Returns
V
|
null
Private
reset__
reset__
(
index
:
number
)
:
V
|
null
Parameters
index:
number
Returns
V
|
null
set_
set_
(
index
:
number
, value
:
V
|
null
)
:
V
|
null
Parameters
index:
number
value:
V
|
null
Returns
V
|
null
Private
set__
set__
(
index
:
number
, value
:
V
|
null
)
:
V
|
null
Parameters
index:
number
value:
V
|
null
Returns
V
|
null
size_
size_
(
)
:
number
Returns
number
to
Array
Object_
to
Array
Object_
(
)
:
AddedListItems
<
V
>
Returns
AddedListItems
<
V
>
to
Array_
to
Array_
(
)
:
Array
<
V
|
null
>
Returns
Array
<
V
|
null
>
to
Event
Data_
to
Event
Data_
(
added
?:
AddedListItems
<
V
>
|
null
, removed
?:
RemovedListItems
<
V
>
|
null
, updated
?:
UpdatedListItems
<
V
>
|
null
)
:
[
null
,
AddedListItems
<
V
>
,
RemovedListItems
<
V
>
,
UpdatedListItems
<
V
>
,
undefined
|
MovedListItem
<
V
>
[]
,
undefined
|
MovedListItem
<
V
>
[]
]
Parameters
Optional
added:
AddedListItems
<
V
>
|
null
Optional
removed:
RemovedListItems
<
V
>
|
null
Optional
updated:
UpdatedListItems
<
V
>
|
null
Returns
[
null
,
AddedListItems
<
V
>
,
RemovedListItems
<
V
>
,
UpdatedListItems
<
V
>
,
undefined
|
MovedListItem
<
V
>
[]
,
undefined
|
MovedListItem
<
V
>
[]
]
to
Json_
to
Json_
(
)
:
Array
<
V
|
null
>
Returns
Array
<
V
|
null
>
to
String_
to
String_
(
)
:
string
Returns
string
Protected
to
Updated_
to
Updated_
(
)
:
void
Returns
void
trigger
Events_
trigger
Events_
(
eventMap
:
EventArgumentMap
, eventList
:
EventArgumentList
, isFirst
:
boolean
)
:
void
Parameters
eventMap:
EventArgumentMap
eventList:
EventArgumentList
isFirst:
boolean
Returns
void
uninitialize_
uninitialize_
(
)
:
void
Returns
void
unlock_
unlock_
(
)
:
void
Returns
void
Globals
Internals
controller
controller/data
event
exception
io
server
util
util/dom
util/lang
Externals
controller/data/internal
controller/internal
controller/internal/info
event/internal
exception/internal
server/internal
util/internal
util/lang/internal
SList
Base
Memory
constructor
_patches
_values
add
All_
add
All__
add_
add__
clear
And
Add
All_
clear
And
Add
All__
clear
And
Add_
clear
And
Add__
clear_
clear__
contains
All_
contains_
each_
filter_
filter__
find_
from
Json_
from
String_
get
And
Increment
Revision_
get
Revision_
get
Wrapper_
get_
index
Of_
initialize_
is
Empty_
is
Initialized_
is
Locked_
is
Non
Null_
is
Patch
Applicable_
is
Patch
Empty_
is
Read
Only_
last
Index
Of_
lock_
make
Init
Values_
merge
Events_
new
Init
Args_
new
Value
Args_
on
Add
All_
on
Add_
on
Clear_
on
Merged
Event_
on
Remove_
on
Set_
patch
Reset_
patch_
push
Change
Event_
push
Event_
remove_
remove__
reset
Authorized
Revision_
reset_
reset__
set_
set__
size_
to
Array
Object_
to
Array_
to
Event
Data_
to
Json_
to
String_
to
Updated_
trigger
Events_
uninitialize_
unlock_
Generated using
TypeDoc