Java™ Platform
Standard Ed. 6

Uses of Class
java.nio.FloatBuffer

Packages that use FloatBuffer
java.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages. 
 

Uses of FloatBuffer in java.nio
 

Methods in java.nio that return FloatBuffer
static FloatBuffer FloatBuffer.allocate(int capacity)
          Allocates a new float buffer.
abstract  FloatBuffer ByteBuffer.asFloatBuffer()
          Creates a view of this byte buffer as a float buffer.
abstract  FloatBuffer FloatBuffer.asReadOnlyBuffer()
          Creates a new, read-only float buffer that shares this buffer's content.
abstract  FloatBuffer FloatBuffer.compact()
          Compacts this buffer  (optional operation).
abstract  FloatBuffer FloatBuffer.duplicate()
          Creates a new float buffer that shares this buffer's content.
 FloatBuffer FloatBuffer.get(float[] dst)
          Relative bulk get method.
 FloatBuffer FloatBuffer.get(float[] dst, int offset, int length)
          Relative bulk get method.
abstract  FloatBuffer FloatBuffer.put(float f)
          Relative put method  (optional operation).
 FloatBuffer FloatBuffer.put(float[] src)
          Relative bulk put method  (optional operation).
 FloatBuffer FloatBuffer.put(float[] src, int offset, int length)
          Relative bulk put method  (optional operation).
 FloatBuffer FloatBuffer.put(FloatBuffer src)
          Relative bulk put method  (optional operation).
abstract  FloatBuffer FloatBuffer.put(int index, float f)
          Absolute put method  (optional operation).
abstract  FloatBuffer FloatBuffer.slice()
          Creates a new float buffer whose content is a shared subsequence of this buffer's content.
static FloatBuffer FloatBuffer.wrap(float[] array)
          Wraps a float array into a buffer.
static FloatBuffer FloatBuffer.wrap(float[] array, int offset, int length)
          Wraps a float array into a buffer.
 

Methods in java.nio with parameters of type FloatBuffer
 int FloatBuffer.compareTo(FloatBuffer that)
          Compares this buffer to another.
 FloatBuffer FloatBuffer.put(FloatBuffer src)
          Relative bulk put method  (optional operation).
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.