sealed abstract class Finger[V, A] extends AnyRef
- Alphabetic
- By Inheritance
- Finger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
+:(a: A): Finger[V, A]
Append the given element to the right
Append the given element to the right
- Exceptions thrown
if
the finger isFour
.
-
abstract
def
:+(a: A): Finger[V, A]
Prepends the given element to the left
Prepends the given element to the left
- Exceptions thrown
if
the finger isFour
.
-
abstract
def
:-|(a: A): Finger[V, A]
Replaces the last element of this finger with
a
- abstract def foldMap[B](f: (A) ⇒ B)(implicit m: Semigroup[B]): B
-
abstract
def
foreach(f: (A) ⇒ Unit): Unit
Apply the given side effect to each element.
-
abstract
def
iterator: Iterator[A]
An iterator that visits each element.
- abstract def lhead: A
- abstract def ltail: Finger[V, A]
- abstract def map[B, V2](f: (A) ⇒ B)(implicit m: Reducer[B, V2]): Finger[V2, B]
- abstract def measure: V
-
abstract
def
reverseIterator: Iterator[A]
An iterator that visits each element in reverse order.
- abstract def rhead: A
- abstract def rtail: Finger[V, A]
- abstract def toTree: FingerTree[V, A]
-
abstract
def
|-:(a: A): Finger[V, A]
Replaces the first element of this finger with
a
Concrete Value Members
- def toList: List[A]