クラス
java.nio.IntBufferの使用

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

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