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
Cursor
Class Cursor<T>
Type parameters
T
Hierarchy
Cursor
CursorEmpty
CursorUnary
CursorArray
KeysCursor
ValuesCursor
NodeCursor
RecordCursor
ValueCursor
ValueEntryCursor
Implements
Iterator
<
T
>
Index
Constructors
constructor
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<T>
(
)
:
Cursor
<
T
>
Type parameters
T
Returns
Cursor
<
T
>
Methods
delete
delete
(
)
:
void
Returns
void
Abstract
has
Next
has
Next
(
)
:
boolean
Returns
boolean
Abstract
has
Previous
has
Previous
(
)
:
boolean
Returns
boolean
Abstract
head
head
(
)
:
T
Returns
T
Abstract
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
Abstract
next
next
(
)
:
{
done
:
boolean
;
value
?:
T
}
Returns
{
done
:
boolean
;
value
?:
T
}
done
:
boolean
Optional
value
?:
T
Abstract
next
Index
next
Index
(
)
:
number
Returns
number
Abstract
previous
previous
(
)
:
{
done
:
boolean
;
value
?:
T
}
Returns
{
done
:
boolean
;
value
?:
T
}
done
:
boolean
Optional
value
?:
T
Abstract
previous
Index
previous
Index
(
)
:
number
Returns
number
set
set
(
newValue
:
T
)
:
void
Parameters
newValue:
T
Returns
void
Abstract
skip
skip
(
count
:
number
)
:
void
Parameters
count:
number
Returns
void
Abstract
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
constructor
delete
has
Next
has
Previous
head
is
Empty
next
next
Index
previous
previous
Index
set
skip
step
array
empty
unary
Generated using
TypeDoc