Here you can find the source of newFloatBuffer(int paramInt)
public static FloatBuffer newFloatBuffer(int paramInt)
//package com.java2s; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; public class Main { public static FloatBuffer newFloatBuffer(int paramInt) { ByteBuffer localByteBuffer = newByteBuffer(paramInt * 4); return localByteBuffer.asFloatBuffer(); }// www . ja v a 2s . com public static ByteBuffer newByteBuffer(int paramInt) { ByteBuffer localByteBuffer = ByteBuffer.allocateDirect(paramInt); localByteBuffer.order(ByteOrder.nativeOrder()); return localByteBuffer; } }