Idx.X.Abstract

abstract class Abstract[A] extends Idx[A] with Able.Contain[A]
Source
X.scala
trait Able.Contain[Idx.X.Abstract.A]
trait Idx[Idx.X.Abstract.A]
trait Collection[Idx.X.Abstract.A]
trait Able.Size
trait Able.Stream[Idx.X.Abstract.A]
class java.lang.Object
trait scala.Matchable
class Any
class Idx.Mutable.X.Abstract[Idx.Mutable.X.Abstract.A]
class Idx.Observable.Event.Recorder[Idx.Observable.Event.Recorder.A]
class Idx.ObservableMutable.X.Abstract[Idx.ObservableMutable.X.Abstract.A]
class Idx.ObservableMutable.X.Basic[Idx.ObservableMutable.X.Basic.A]

Def

def apply(i: Int): A

Returns element at specified position

Returns element at specified position

 val idx: Idx[Char] = ('A' <> 'Z').stream.pack

 idx(1).tp // Prints: B

 idx(4).tp // Prints: E
Inherited from
Idx
Source
__.scala
def contains(v: A): Boolean
Source
X.scala
def size: Int
Inherited from
Idx
Source
__.scala
def stream: Stream[A]

Returns a Stream of all elements

Returns a Stream of all elements

The element order is same as in the Idx itself

  val l: Idx[Char] = ('a' <> 'g').stream.pack

  l.stream.tp  // Prints Stream(a, b, c, d, e, f, g)
Inherited from
Idx
Source
__.scala