abstract virtual class util::IntArray

sys::Obj
  util::IntArray

@Js
@JsNative

copyFrom

abstract This copyFrom(IntArray that, Int thatOffset, Int thisOffset, Int length)

fill

virtual This fill(Int val, Int times)

get

@Operator
abstract Int get(Int pos)

makeS1

static IntArray makeS1(Int size)

Create a signed 8-bit, 1-byte integer array (-128 to 127).

makeS2

static IntArray makeS2(Int size)

Create a signed 16-bit, 2-byte integer array (-32_768 to 32_767).

makeS4

static IntArray makeS4(Int size)

Create a signed 32-bit, 4-byte integer array (-2_147_483_648 to 2_147_483_647).

makeS8

static IntArray makeS8(Int size)

Create a signed 64-bit, 8-byte integer array.

makeU1

static IntArray makeU1(Int size)

Create a unsigned 8-bit, 1-byte integer array (0 to 255).

makeU2

static IntArray makeU2(Int size)

Create a unsigned 16-bit, 2-byte integer array (0 to 65_535).

makeU4

static IntArray makeU4(Int size)

Create a unsigned 32-bit, 4-byte integer array (0 to 4_294_967_295).

realloc

abstract IntArray realloc(Int newSize)

set

@Operator
abstract Void set(Int pos, Int val)

size

abstract Int size()