Java com.badlogic.gdx.utils FloatArray fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.utils FloatArray fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.utils FloatArray.

The text is from its open source code.

Constructor

FloatArray()
Creates an ordered array with a capacity of 16.
FloatArray(int capacity)
Creates an ordered array with the specified capacity.
FloatArray(FloatArray array)
Creates a new array containing the elements in the specific array.
FloatArray(float[] array)
Creates a new ordered array containing the elements in the specified array.

Method

voidadd(float value)
voidaddAll(FloatArray array, int offset, int length)
voidaddAll(float[] array, int offset, int length)
voidaddAll(FloatArray array)
voidaddAll(float... array)
voidclear()
float[]ensureCapacity(int additionalCapacity)
Increases the size of the backing array to accommodate the specified number of additional items.
floatfirst()
Returns the first item.
floatget(int index)
voidremoveRange(int start, int end)
Removes the items between the specified indices, inclusive.
voidset(int index, float value)
float[]shrink()
Reduces the size of the backing array to the size of the actual items.
voidsort()
float[]toArray()