Converts this <code>FloatArray</code> to an array of floats.

@return An array of floats containing the same elements as this array.
557774
public float[] toFloatArray() {
    float[] copy = new float[size];
    for (int i = 0; i < size; i++) {
      copy[i] = elements[i];
    }
    return copy;
  }
1203978
public void readArray(float[] data) throws IOException {
        int size = data.length;
        for (int i = 0; i < size; ++i)
            data[i] = getFloat();
    }
1055345
@Override
	public int[] toArrayInt() {
		int[] result = new int[size];
		System.arraycopy(elementData, 0, result, 0, size);
		return result;
	}
1267381
public FloatArray getEndings() {
    if (DocumentLine_Type.featOkTst && ((DocumentLine_Type)jcasType).casFeat_endings == null)
      jcasType.jcas.throwFeatMissing("endings", "ch.epfl.bbp.uima.types.DocumentLine");
    return (FloatArray)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefValue(addr, ((DocumentLine_Type)jcasType).casFeatCode_endings)));}
327927
function () {
        var data = this.data;
        if (data instanceof Array) {
            data.length = this._len;
            if (hasTypedArray) {
                this.data = new Float32Array(data);
            }
        }
    }
623421
public static int[] toArray(IntTuple t)
    {
        int d = t.getSize();
        int result[] = new int[d];
        for (int i=0; i<d; i++)
        {
            result[i] = t.get(i);
        }
        return result;
    }
706175
@Override
	public Object[] toArray() {
		Object[] result = new Object[size];
		for(int c=0;c<size;c++) result[c] = elementData[c];
		return result;
	}
676046
public static float[] getFloatData(DataBuffer buf) {
        if (buf.allocationMode() == DataBuffer.AllocationMode.HEAP) {
            return buf.asFloat();
        } else {
            float[] ret = new float[(int) buf.length()];
            for (int i = 0; i < buf.length(); i++)
                ret[i] = buf.getFloat(i);
            return ret;
        }
    }
672758
public byte[] toArray() {
        byte[] result = new byte[size];
        int pos = 0;
        
        for (byte[] buffer : pool) {
            for (int i = 0; i < buffer.length && pos < size; i++) {
                result[pos++] = buffer[i];
            }
        }
        
        return result;
    }
815654
public ObjectInfo[] toArray ()
    {
        ObjectInfo[] info = new ObjectInfo[_size];
        System.arraycopy(_objs, 0, info, 0, _size);
        return info;
    }
1097973
public ArrayList<E> toFlatArrayList() {
		ArrayList<E> ret = new ArrayList<>();
		this.columns.forEach(ret::addAll);
		return ret;
	}
1015163
public ArrayContainer toArrayContainer() {
    ArrayContainer ac = new ArrayContainer(cardinality);
    ac.loadData(this);
    if (ac.getCardinality() != cardinality) {
      throw new RuntimeException("Internal error.");
    }
    return ac;
  }
854097
@SuppressWarnings("unchecked")
    public T[] nextPermutationAsArray()
    {
        T[] permutation = (T[]) Array.newInstance(elements.getClass().getComponentType(),
                                                  permutationIndices.length);
        return nextPermutationAsArray(permutation);
    }
626830
public static float[] copyOf(float[] floatArray) {

    	float[] copy = new float[floatArray.length];
        System.arraycopy(floatArray, 0, copy, 0, floatArray.length);
        return copy;
    }
287580
public Object[] toArray() {
        ArrayList<D> l = new ArrayList<D>();

        for (S o : wrapped) {
            l.add(xform.transform(o, clazz));
        }
        return l.toArray();
    }
798274
@Override
    public final Object[] toArray() {
        this.readLock.lock();
        try {
            return this.toArray(new Object[this.size]);
        } finally {
            this.readLock.unlock();
        }
    }
442028
@SuppressWarnings("unchecked")
	@Override
	public <T> T[] toArray(T[] array) {
		return (T[])(booleanTerms == null ? new BooleanTerm[0] : booleanTerms.toArray(new BooleanTerm[booleanTerms.size()]));
	}