Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/util
CursorArray
Class CursorArray<T>
Type parameters
T
Hierarchy
Cursor
<
T
>
CursorArray
Index
Constructors
constructor
Properties
array
index
limit
Methods
delete
has
Next
has
Previous
head
is
Empty
next
next
Index
previous
previous
Index
set
skip
step
array
empty
unary
Constructors
constructor
new
Cursor
Array<T>
(
array
:
readonly
T
[]
, index
:
number
, limit
:
number
)
:
CursorArray
<
T
>
Type parameters
T
Parameters
array:
readonly
T
[]
index:
number
limit:
number
Returns
CursorArray
<
T
>
Properties
Readonly
array
array
:
readonly
T
[]
index
index
:
number
Readonly
limit
limit
:
number
Methods
delete
delete
(
)
:
void
Returns
void
has
Next
has
Next
(
)
:
boolean
Returns
boolean
has
Previous
has
Previous
(
)
:
boolean
Returns
boolean
head
head
(
)
:
T
Returns
T
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
next
next
(
)
:
{
done
:
boolean
;
value
?:
T
}
Returns
{
done
:
boolean
;
value
?:
T
}
done
:
boolean
Optional
value
?:
T
next
Index
next
Index
(
)
:
number
Returns
number
previous
previous
(
)
:
{
done
:
boolean
;
value
?:
T
}
Returns
{
done
:
boolean
;
value
?:
T
}
done
:
boolean
Optional
value
?:
T
previous
Index
previous
Index
(
)
:
number
Returns
number
set
set
(
newValue
:
T
)
:
void
Parameters
newValue:
T
Returns
void
skip
skip
(
count
:
number
)
:
void
Parameters
count:
number
Returns
void
step
step
(
)
:
void
Returns
void
Static
array
array<T>
(
array
:
readonly
T
[]
, index
?:
number
, limit
?:
number
)
:
Cursor
<
T
>
Type parameters
T
Parameters
array:
readonly
T
[]
Optional
index:
number
Optional
limit:
number
Returns
Cursor
<
T
>
Static
empty
empty<T>
(
)
:
Cursor
<
T
>
Type parameters
T
Returns
Cursor
<
T
>
Static
unary
unary<T>
(
value
:
T
)
:
Cursor
<
T
>
Type parameters
T
Parameters
value:
T
Returns
Cursor
<
T
>
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Cursor
Array
constructor
array
index
limit
delete
has
Next
has
Previous
head
is
Empty
next
next
Index
previous
previous
Index
set
skip
step
array
empty
unary
Generated using
TypeDoc