returns a random item from the array , or zero if the array is empty . concode_field_sep boolean ordered concode_elem_sep int size concode_elem_sep float[] items concode_field_sep void mul concode_elem_sep void insert concode_elem_sep float pop concode_elem_sep boolean removeAll concode_elem_sep float[] setSize concode_elem_sep void truncate concode_elem_sep int hashCode concode_elem_sep float get concode_elem_sep void removeRange concode_elem_sep float[] toArray concode_elem_sep int indexOf concode_elem_sep void add concode_elem_sep void set concode_elem_sep void incr concode_elem_sep void swap concode_elem_sep float[] shrink concode_elem_sep void clear concode_elem_sep float removeIndex concode_elem_sep void sort concode_elem_sep void reverse concode_elem_sep float peek concode_elem_sep int lastIndexOf concode_elem_sep FloatArray with concode_elem_sep boolean contains concode_elem_sep boolean removeValue concode_elem_sep void addAll concode_elem_sep void addAll concode_elem_sep void addAll concode_elem_sep void addAll concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep float[] resize concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep float[] ensureCapacity concode_elem_sep void shuffle concode_elem_sep float first
float function ( ) { if ( size == 0 ) return 0 ; return items [ MathUtils . random ( 0 , size - 1 ) ] ; }