クラス
java.nio.ShortBufferの使用

ShortBufferを使用するパッケージ
パッケージ
説明
データのコンテナであるバッファについて定義し、その他のNIOパッケージの概要情報を提供します。
  • java.nioでのShortBufferの使用

    ShortBufferを返すjava.nioのメソッド
    修飾子と型
    メソッド
    説明
    ShortBuffer.allocate(int capacity)
    新しいshortバッファを割り当てます。
    abstract ShortBuffer
    ShortBuffer.asReadOnlyBuffer()
    このバッファの内容を共有する新しい読込み専用shortバッファを作成します。
    abstract ShortBuffer
    ByteBuffer.asShortBuffer()
    shortバッファとしてこのbyteバッファのビューを作成します。
    ShortBuffer.clear()
    このバッファをクリアします。
    abstract ShortBuffer
    ShortBuffer.compact()
    このバッファを圧縮します  (オプションの操作)
    abstract ShortBuffer
    ShortBuffer.duplicate()
    このバッファの内容を共有する新しいshortバッファを作成します。
    ShortBuffer.flip()
    このバッファをフリップ(反転)します。
    ShortBuffer.get(int index, short[] dst)
    絶対一括getメソッド。
    ShortBuffer.get(int index, short[] dst, int offset, int length)
    絶対一括getメソッド。
    ShortBuffer.get(short[] dst)
    相対一括getメソッドです。
    ShortBuffer.get(short[] dst, int offset, int length)
    相対一括getメソッドです。
    ShortBuffer.limit(int newLimit)
    このバッファのリミットを設定します。
    ShortBuffer.mark()
    このバッファの現在位置にマークを設定します。
    ShortBuffer.position(int newPosition)
    このバッファの位置を設定します。
    abstract ShortBuffer
    ShortBuffer.put(int index, short s)
    絶対putメソッドです  (オプションの操作)
    ShortBuffer.put(int index, short[] src)
    (optional operation)の絶対一括putメソッド。
    ShortBuffer.put(int index, short[] src, int offset, int length)
    (optional operation)の絶対一括putメソッド。
    ShortBuffer.put(int index, ShortBuffer src, int offset, int length)
    (optional operation)の絶対一括putメソッド。
    abstract ShortBuffer
    ShortBuffer.put(short s)
    相対putメソッドです  (オプションの操作)
    ShortBuffer.put(short[] src)
    相対一括putメソッドです  (オプションの操作)
    ShortBuffer.put(short[] src, int offset, int length)
    相対一括putメソッドです  (オプションの操作)
    ShortBuffer.put(ShortBuffer src)
    相対一括putメソッドです  (オプションの操作)
    ShortBuffer.reset()
    バッファの位置を以前にマークした位置に戻します。
    ShortBuffer.rewind()
    このバッファをリワインド(巻き戻し)します。
    abstract ShortBuffer
    ShortBuffer.slice()
    このバッファの内容の共有サブシーケンスを内容とする新しいshortバッファを作成します。
    abstract ShortBuffer
    ShortBuffer.slice(int index, int length)
    このバッファの内容の共有サブシーケンスを内容とする新しいshortバッファを作成します。
    ShortBuffer.wrap(short[] array)
    short配列をバッファにラップします。
    ShortBuffer.wrap(short[] array, int offset, int length)
    short配列をバッファにラップします。
    ShortBufferのパラメータを持つjava.nioのメソッド
    修飾子と型
    メソッド
    説明
    int
    ShortBuffer.compareTo(ShortBuffer that)
    このバッファを別のバッファと比較します。
    int
    ShortBuffer.mismatch(ShortBuffer that)
    このバッファと指定されたバッファの最初の不一致の相対索引を検索して戻します。
    ShortBuffer.put(int index, ShortBuffer src, int offset, int length)
    (optional operation)の絶対一括putメソッド。
    ShortBuffer.put(ShortBuffer src)
    相対一括putメソッドです  (オプションの操作)