Here you can find the source of print(FloatBuffer buffer)
Parameter | Description |
---|---|
buffer | - the float buffer to print to System.out |
public static void print(FloatBuffer buffer)
//package com.java2s; //License from project: Open Source License import java.nio.FloatBuffer; public class Main { /**//from ww w . j a v a 2s .c o m * Utility method to print a float buffer * * @param buffer - the float buffer to print to System.out */ public static void print(FloatBuffer buffer) { for (int i = 0; i < buffer.capacity(); i++) { System.out.print(buffer.get(i) + " "); } System.out.println(""); } }