J.Array

trait Array extends Idx[Any]
Companion
object
Source
Array.scala
trait Idx[Any]
trait Collection[Any]
trait Able.Size
trait Able.~[Any]
class Object
trait Matchable
class Any

Def

def boolean(i: Int): Boolean
def double(i: Int): Double
def int(i: Int): Int
def jArray(i: Int): Array
def jObject(i: Int): Object
def long(i: Int): Long
def string(i: Int): String

Inherited

@targetName("stream")
def ~: ~[Any]

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').~.><

  l.~.tp  // Prints ~(a, b, c, d, e, f, g)
Inherited from
Idx
Source
__.scala
def apply(i: Int): Any

Returns element at specified position

Returns element at specified position

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

 idx(1).tp // Prints: B

 idx(4).tp // Prints: E
Inherited from
Idx
Source
__.scala
def isEmpty: Boolean
Inherited from
Size
Source
Size.scala
def size: Int
Inherited from
Idx
Source
__.scala