クラス
java.nio.ShortBufferの使用

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

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