listzipper
listzipper
API
co.blocke.collection
immutable
ListZipper
ListZipper
mutable
ListZipper
ListZipper
listzipper
/
co.blocke.collection
/
co.blocke.collection.mutable
/
ListZipper
ListZipper
co.blocke.collection.mutable.ListZipper
See the
ListZipper
companion object
case
class
ListZipper
[
A
](
var
left
:
List
[
A
],
var
curFocus
:
Option
[
A
],
var
right
:
List
[
A
])
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Show all
Members list
Clear all
Value members
Concrete methods
def
crashedLeft
:
Boolean
def
crashedRight
:
Boolean
def
delete
:
ListZipper
[
A
]
def
first
:
ListZipper
[
A
]
def
flatMap
[
B
](
f
:
A
=>
IterableOnce
[
B
]):
ListZipper
[
B
]
def
focus
:
Option
[
A
]
def
index
:
Int
def
insertAfter
(
a
:
A
):
ListZipper
[
A
]
def
insertBefore
(
a
:
A
):
ListZipper
[
A
]
def
isEmpty
:
Boolean
def
last
:
ListZipper
[
A
]
def
map
[
B
](
f
:
A
=>
B
):
ListZipper
[
B
]
def
mergeLeft
(
fn
: (
A
,
A
)
=>
A
):
ListZipper
[
A
]
def
mergeRight
(
fn
: (
A
,
A
)
=>
A
):
ListZipper
[
A
]
def
modify
(
a
:
A
):
ListZipper
[
A
]
def
moveLeft
:
ListZipper
[
A
]
def
moveLeftWhile
(
fn
:
A
=>
Boolean
):
ListZipper
[
A
]
def
moveRight
:
ListZipper
[
A
]
def
moveRightWhile
(
fn
:
A
=>
Boolean
):
ListZipper
[
A
]
def
moveTo
(
i
:
Int
):
ListZipper
[
A
]
def
next
:
Option
[
A
]
def
nonEmpty
:
Boolean
def
prev
:
Option
[
A
]
def
size
:
Int
def
toList
:
List
[
A
]
Inherited methods
def
productElementNames
:
Iterator
[
String
]
Attributes
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Attributes
Inherited from:
Product
In this article
Attributes
Members list
Value members
Concrete methods
Inherited methods