Packages

object BitArrayTile extends Serializable

The companion object for the BitArrayTile type.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitArrayTile
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def empty(cols: Int, rows: Int): BitArrayTile

    Produce an empty, new BitArrayTile.

    Produce an empty, new BitArrayTile.

    cols

    The number of columns

    rows

    The number of rows

    returns

    The new BitArrayTile

  2. def fill(v: Boolean, cols: Int, rows: Int): BitArrayTile

    Produce a new BitArrayTile and fill it with the given value.

    Produce a new BitArrayTile and fill it with the given value.

    v

    The value to fill into the new tile

    cols

    The number of columns

    rows

    The number of rows

    returns

    The new BitArrayTile

  3. def fill(v: Int, cols: Int, rows: Int): BitArrayTile

    Produce a new BitArrayTile and fill it with the given value.

    Produce a new BitArrayTile and fill it with the given value.

    v

    The value to fill into the new tile

    cols

    The number of columns

    rows

    The number of rows

    returns

    The new BitArrayTile

  4. def fromBytes(bytes: Array[Byte], cols: Int, rows: Int): BitArrayTile

    Produce a new BitArrayTile from an array of bytes.

    Produce a new BitArrayTile from an array of bytes.

    bytes

    The value to fill into the new tile

    cols

    The number of columns

    rows

    The number of rows

    returns

    The new BitArrayTile

  5. def ofDim(cols: Int, rows: Int): BitArrayTile

    Produce a BitArrayTile of the specified dimensions.

    Produce a BitArrayTile of the specified dimensions.

    cols

    The number of columns

    rows

    The number of rows

    returns

    The new BitArrayTile

  6. def update(arr: Array[Byte], i: Int, z: Int): Unit

    Set or unset the specified bit in the Array[Byte].

    Set or unset the specified bit in the Array[Byte].

    arr

    The array of bytes to be modified

    i

    The index of the bit

    z

    The value whose least significant bit will be put at the index

  7. def updateDouble(arr: Array[Byte], i: Int, z: Double): Unit

    Set or unset the specified bit in the Array[Byte].

    Set or unset the specified bit in the Array[Byte].

    arr

    The array of bytes to be modified

    i

    The index of the bit

    z

    The value that will be used to update the array