Object/Trait

xerial.larray

LArray

Related Docs: trait LArray | package larray

Permalink

object LArray

LArray factory

// Create a new LArray[Int] of size 10
LArray.of[Int](10)
Source
LArray.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LArray
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(first: Long, elems: Long*): LArray[Long]

    Permalink
  5. def apply(first: Double, elems: Double*): LArray[Double]

    Permalink
  6. def apply(first: Float, elems: Float*): LArray[Float]

    Permalink
  7. def apply(first: Short, elems: Short*): LArray[Short]

    Permalink
  8. def apply(first: Char, elems: Char*): LArray[Char]

    Permalink
  9. def apply(first: Int, elems: Int*): LArray[Int]

    Permalink
  10. def apply(first: Byte, elems: Byte*): LArray[Byte]

    Permalink
  11. def apply[A](xs: A*)(implicit arg0: ClassTag[A]): LArray[A]

    Permalink

    Creates an LArray with given elements.

    Creates an LArray with given elements.

    xs

    the elements to put in the array

    returns

    an array containing all elements from xs.

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def copy[A](src: LArray[A], srcPos: Long, dest: LArray[A], destPos: Long, length: Long): Unit

    Permalink

    Copy LArray elements to the destination LArray

    Copy LArray elements to the destination LArray

    A

    the element type

    src

    the source LArray

    srcPos

    the element index to start copy

    dest

    the destination LArray

    destPos

    the element index of the destination array to start copy

    length

    the number of elements to copy

  15. def copy[A](src: LArray[A], dest: LArray[A]): Unit

    Permalink
  16. def empty[A](implicit arg0: ClassTag[A]): LArray[A]

    Permalink

    Empty array

  17. val emptyBooleanArray: LArray[Boolean]

    Permalink
  18. val emptyByteArray: LArray[Byte]

    Permalink
  19. val emptyCharArray: LArray[Char]

    Permalink
  20. val emptyDoubleArray: LArray[Double]

    Permalink
  21. val emptyFloatArray: LArray[Float]

    Permalink
  22. val emptyIntArray: LArray[Int]

    Permalink
  23. val emptyLongArray: LArray[Long]

    Permalink
  24. val emptyObjectArray: LArray[AnyRef]

    Permalink
  25. val emptyShortArray: LArray[Short]

    Permalink
  26. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def loadFrom[A](f: File)(implicit arg0: ClassTag[A]): LArray[A]

    Permalink

    Load the contents of a file into LArray

    Load the contents of a file into LArray

    A

    the element type

    f

    the file to read

    returns

    LArray contains the file contents

  33. def mmap(f: File, mode: MMapMode): MappedLByteArray

    Permalink

    Create a LArray[Byte] of a memory mapped file

    Create a LArray[Byte] of a memory mapped file

    f

    file

    mode

    open mode.

  34. def mmap(f: File, offset: Long, size: Long, mode: MMapMode): MappedLByteArray

    Permalink

    Create a LArray[Byte] of a memory mapped file

    Create a LArray[Byte] of a memory mapped file

    f

    file

    offset

    offset in file

    size

    region byte size

    mode

    open mode.

  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. def newBuilder[A](implicit arg0: ClassTag[A]): LBuilder[A, LArray[A]]

    Permalink

    Create a new LArrayBuilder[A]

  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. def of[A](size: Long)(implicit arg0: ClassTag[A]): LArray[A]

    Permalink

    Creates a new LArray of the specified type and size

    Creates a new LArray of the specified type and size

    A

    the element type

    size

    the array size

    returns

    a new instance of LArray[A] of the given size

  40. def ofDim[A](n1: Long, n2: Long, n3: Long, n4: Long, n5: Long)(implicit arg0: ClassTag[A]): LArray[LArray[LArray[LArray[LArray[A]]]]]

    Permalink

    Creates a 5-dimensional array

  41. def ofDim[A](n1: Long, n2: Long, n3: Long, n4: Long)(implicit arg0: ClassTag[A]): LArray[LArray[LArray[LArray[A]]]]

    Permalink

    Creates a 4-dimensional array

  42. def ofDim[A](n1: Long, n2: Long, n3: Long)(implicit arg0: ClassTag[A]): LArray[LArray[LArray[A]]]

    Permalink

    Creates a 3-dimensional array

  43. def ofDim[A](n1: Long, n2: Long)(implicit arg0: ClassTag[A]): LArray[LArray[A]]

    Permalink

    Creates a 2-dimensional array.

    Creates a 2-dimensional array. Returned LArray[LArray[A]] cannot be released immediately. If you need relesable arrays, use xerial.larray.LArray2D.

  44. def ofDim[A](size: Long)(implicit arg0: ClassTag[A]): LArray[A]

    Permalink

    Creates LArary with given dimensions

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def tabulate[A](n: Long)(f: (Long) ⇒ A)(implicit arg0: ClassTag[A]): LArray[A]

    Permalink
  47. def toLArray[A](it: LIterator[A])(implicit arg0: ClassTag[A]): LArray[A]

    Permalink

    Convert iterator to LArray

  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped