GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help
  • Frames
  • No Frames
  • All Classes
  • asShortBuffer

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com — Uses of Class java.nio.ShortBuffer (Java Platform SE 8 )

Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Uses of Class
java.nio.ShortBuffer

  • Packages that use ShortBuffer 
    Package Description
    java.nio
    Defines buffers, which are containers for data, and provides an overview of the other NIO packages.
    • Uses of ShortBuffer in java.nio

      Methods in java.nio that return ShortBuffer 
      Modifier and Type Method Description
      static ShortBuffer ShortBuffer.allocate(int capacity)
      Allocates a new short buffer.
      abstract ShortBuffer ShortBuffer.asReadOnlyBuffer()
      Creates a new, read-only short buffer that shares this buffer's content.
      abstract ShortBuffer ByteBuffer.asShortBuffer()
      Creates a view of this byte buffer as a short buffer.
      abstract ShortBuffer ShortBuffer.compact()
      Compacts this buffer  (optional operation).
      abstract ShortBuffer ShortBuffer.duplicate()
      Creates a new short buffer that shares this buffer's content.
      ShortBuffer ShortBuffer.get(short[] dst)
      Relative bulk get method.
      ShortBuffer ShortBuffer.get(short[] dst, int offset, int length)
      Relative bulk get method.
      abstract ShortBuffer ShortBuffer.put(int index, short s)
      Absolute put method  (optional operation).
      abstract ShortBuffer ShortBuffer.put(short s)
      Relative put method  (optional operation).
      ShortBuffer ShortBuffer.put(short[] src)
      Relative bulk put method  (optional operation).
      ShortBuffer ShortBuffer.put(short[] src, int offset, int length)
      Relative bulk put method  (optional operation).
      ShortBuffer ShortBuffer.put(ShortBuffer src)
      Relative bulk put method  (optional operation).
      abstract ShortBuffer ShortBuffer.slice()
      Creates a new short buffer whose content is a shared subsequence of this buffer's content.
      static ShortBuffer ShortBuffer.wrap(short[] array)
      Wraps a short array into a buffer.
      static ShortBuffer ShortBuffer.wrap(short[] array, int offset, int length)
      Wraps a short array into a buffer.
      Methods in java.nio with parameters of type ShortBuffer 
      Modifier and Type Method Description
      int ShortBuffer.compareTo(ShortBuffer that)
      Compares this buffer to another.
      ShortBuffer ShortBuffer.put(ShortBuffer src)
      Relative bulk put method  (optional operation).
Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.