Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/util
Cursor
Class Cursor<T>
Type parameters
T
Hierarchy
Cursor
Implements
Iterator
<
T
>
Index
Methods
delete
has
Next
has
Previous
head
is
Empty
next
next
Index
previous
previous
Index
set
skip
step
array
empty
unary
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
(
)
:
object
Returns
object
Abstract
next
Index
next
Index
(
)
:
number
Returns
number
Abstract
previous
previous
(
)
:
object
Returns
object
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
:
ReadonlyArray
<
T
>
, index
?:
number
, limit
?:
number
)
:
Cursor
<
T
>
Type parameters
T
Parameters
array:
ReadonlyArray
<
T
>
Default value
index:
number
= 0
Default value
limit:
number
= array.length
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
>
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Byte
Order
Assert
Exception
Cursor
delete
has
Next
has
Previous
head
is
Empty
next
next
Index
previous
previous
Index
set
skip
step
array
empty
unary
Hash
Gen
Cache
Map
Hash
Gen
Cache
Set
Murmur3
Objects
Severity
Assert
Builder
Comparable
Equals
From
Any
Hash
Code
Iterator
Map
Ordered
Map
Pair
Builder
Reduced
Map
To
Any
Native
Order
assert