Method Summary 
All Methods Instance Methods Abstract Methods 
Modifier and Type 
Method 
Description 
 
 
voidaddAll 
Appends given elements to the end of this array.
 
 
voidaddAll 
Appends a portion of given array to the end of this array.
 
 
voidaddAll ObservableFloatArray  src)
Appends content of a given observable array to the end of this array.
 
 
voidaddAll ObservableFloatArray  src,
int srcIndex,
int length)
Appends a portion of given observable array to the end of this array.
 
 
voidcopyTo 
Copies specified portion of array into dest array.
 
 
voidcopyTo ObservableFloatArray  dest,
int destIndex,
int length)
Copies specified portion of array into dest observable array.
 
 
floatget 
Gets a single value of array.
 
 
voidset 
Sets a single value in the array.
 
 
voidset 
Copies a portion of specified array into this observable array.
 
 
voidset ObservableFloatArray  src,
int srcIndex,
int length)
Copies a portion of specified observable array into this observable array.
 
 
voidsetAll 
Replaces this observable array content with given elements.
 
 
voidsetAll 
Replaces this observable array content with a copy of portion of
 a given array.
 
 
voidsetAll ObservableFloatArray  src)
Replaces this observable array content with a copy of given observable array.
 
 
voidsetAll ObservableFloatArray  src,
int srcIndex,
int length)
Replaces this observable array content with a portion of a given
 observable array.
 
 
float[]toArray 
Returns an array containing copy of the observable array.
 
 
float[]toArray 
Returns an array containing copy of specified portion of the observable array.
 
 
 
 
 
 
 
 
 
Method Details 
void  copyTo (int srcIndex,
float[] dest,
int destIndex,
int length) 
Copies specified portion of array into 
dest array. Throws
 the same exceptions as 
System.arraycopy() method.
Parameters: srcIndex - starting position in the observable arraydest - destination arraydestIndex - starting position in destination arraylength - length of portion to copy 
 
 
Copies specified portion of array into 
dest observable array.
 Throws the same exceptions as 
System.arraycopy() method.
Parameters: srcIndex - starting position in the observable arraydest - destination observable arraydestIndex - starting position in destination observable arraylength - length of portion to copy 
 
 
float  get (int index) 
Gets a single value of array. This is generally as fast as direct access
 to an array and eliminates necessity to make a copy of array.
Parameters: index - index of element to getReturns: value at the given index 
Throws: ArrayIndexOutOfBoundsException index is outside
 array bounds 
 
 
void  addAll (float... elements) 
Appends given elements to the end of this array. Capacity is increased
 if necessary to match the new size of the data.
Parameters: elements - elements to append 
 
 
Appends content of a given observable array to the end of this array.
 Capacity is increased if necessary to match the new size of the data.
Parameters: src - observable array with elements to append 
 
 
void  addAll (float[] src,
int srcIndex,
int length) 
Appends a portion of given array to the end of this array.
 Capacity is increased if necessary to match the new size of the data.
Parameters: src - source arraysrcIndex - starting position in source arraylength - length of portion to append 
 
 
Appends a portion of given observable array to the end of this array.
 Capacity is increased if necessary to match the new size of the data.
Parameters: src - source observable arraysrcIndex - starting position in source arraylength - length of portion to append 
 
 
void  setAll (float... elements) 
Replaces this observable array content with given elements.
 Capacity is increased if necessary to match the new size of the data.
Parameters: elements - elements to put into array contentThrows: NullPointerException src is null 
 
 
void  setAll (float[] src,
int srcIndex,
int length) 
Replaces this observable array content with a copy of portion of
 a given array.
 Capacity is increased if necessary to match the new size of the data.
Parameters: src - source array to copy.srcIndex - starting position in source observable arraylength - length of a portion to copyThrows: NullPointerException src is null 
 
 
Replaces this observable array content with a copy of given observable array.
 Capacity is increased if necessary to match the new size of the data.
Parameters: src - source observable array to copy.Throws: NullPointerException src is null 
 
 
Replaces this observable array content with a portion of a given
 observable array.
 Capacity is increased if necessary to match the new size of the data.
Parameters: src - source observable array to copy.srcIndex - starting position in source observable arraylength - length of a portion to copyThrows: NullPointerException src is null 
 
 
void  set (int destIndex,
float[] src,
int srcIndex,
int length) 
Copies a portion of specified array into this observable array. Throws
 the same exceptions as 
System.arraycopy() method.
Parameters: destIndex - the starting destination position in this observable arraysrc - source array to copysrcIndex - starting position in source arraylength - length of portion to copy 
 
 
Copies a portion of specified observable array into this observable array.
 Throws the same exceptions as 
System.arraycopy() method.
Parameters: destIndex - the starting destination position in this observable arraysrc - source observable array to copysrcIndex - starting position in source arraylength - length of portion to copy 
 
 
void  set (int index,
float value) 
Sets a single value in the array. Avoid using this method if many values
 are updated, use 
set(int, float[], int, int)  update method
 instead with as minimum number of invocations as possible.
Parameters: index - index of the value to setvalue - new value for the given indexThrows: ArrayIndexOutOfBoundsException index is outside
 array bounds 
 
 
float[]  toArray (float[] dest) 
Returns an array containing copy of the observable array.
 If the observable array fits in the specified array, it is copied therein.
 Otherwise, a new array is allocated with the size of the observable array.
Parameters: dest - the array into which the observable array to be copied,
          if it is big enough; otherwise, a new float array is allocated.
          Ignored, if null.Returns: a float array containing the copy of the observable array 
 
 
 
float[]  toArray (int srcIndex,
float[] dest,
int length) 
Returns an array containing copy of specified portion of the observable array.
 If specified portion of the observable array fits in the specified array,
 it is copied therein. Otherwise, a new array of given length is allocated.
Parameters: srcIndex - starting position in the observable arraydest - the array into which specified portion of the observable array
          to be copied, if it is big enough;
          otherwise, a new float array is allocated.
          Ignored, if null.length - length of portion to copyReturns: a float array containing the copy of specified portion the observable array