Skip to main content

Field Access

36
  • aclone

    Returns a clone of the Java array. Works on arrays of known types.

  • aget

    Returns the value at the index/indices. Works on Java arrays of all types.

  • alength

    Returns the length of the Java array. Works on arrays of all types.

  • amap

    Maps an expression across an array a, using an index named idx, and return value named ret, initialized to a clone of ...

  • areduce

    Reduces an expression across an array a, using an index named idx, and return value named ret, initialized to init, se...

  • aset

    Sets the value at the index/indices. Works on Java arrays of reference types. Returns val.

  • aset-boolean

    Sets the value at the index/indices. Works on arrays of boolean. Returns val.

  • aset-byte

    Sets the value at the index/indices. Works on arrays of byte. Returns val.

  • aset-char

    Sets the value at the index/indices. Works on arrays of char. Returns val.

  • aset-double

    Sets the value at the index/indices. Works on arrays of double. Returns val.

  • aset-float

    Sets the value at the index/indices. Works on arrays of float. Returns val.

  • aset-int

    Sets the value at the index/indices. Works on arrays of int. Returns val.

  • aset-long

    Sets the value at the index/indices. Works on arrays of long. Returns val.

  • aset-short

    Sets the value at the index/indices. Works on arrays of short. Returns val.

  • boolean-array

    Creates an array of booleans

  • booleans

    Casts to boolean[]

  • byte-array

    Creates an array of bytes

  • bytes

    Casts to bytes[]

  • char-array

    Creates an array of chars

  • chars

    Casts to chars[]

  • double-array

    Creates an array of doubles

  • doubles

    Casts to double[]

  • float-array

    Creates an array of floats

  • floats

    Casts to float[]

  • int-array

    Creates an array of ints

  • into-array

    Returns an array with components set to the values in aseq. The array's component type is type if provided, or the typ...

  • ints

    Casts to int[]

  • long-array

    Creates an array of longs

  • longs

    Casts to long[]

  • make-array

    Creates and returns an array of instances of the specified class of the specified dimension(s). Note that a class obj...

  • object-array

    Creates an array of objects

  • set!

    Assigns a new value to a var or field.

  • short-array

    Creates an array of shorts

  • shorts

    Casts to shorts[]

  • to-array

    Returns an array of Objects containing the contents of coll, which can be any Collection. Maps to java.util.Collectio...

  • to-array-2d

    Returns a (potentially-ragged) 2-dimensional array of Objects containing the contents of coll, which can be any Collec...