public class

Array

extends Object
java.lang.Object
   ↳ net.pierrox.lightning_launcher.script.api.Array

This class is deprecated.
This collection isn't needed anymore and is kept for compatibility. Use plain JavaScript arrays instead.

Class Overview

The array is a collection of object.

Summary

Public Methods
Object getAt(int index)
Returns the object at the specified index.
int getLength()
Returns the number of objects in this array.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Object getAt (int index)

Returns the object at the specified index.

Parameters
index should be between 0 and length-1
Returns
  • an object or undefined if out of bounds

public int getLength ()

Returns the number of objects in this array.

public String toString ()