JavaTM Platform
Standard Ed. 6

クラス
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 バッファーを作成します。
abstract  IntBuffer IntBuffer.compact()
          現在のバッファーを圧縮します (オプション)。
abstract  IntBuffer IntBuffer.duplicate()
          現在のバッファーのコンテンツを共有する新しい int バッファーを作成します。
 IntBuffer IntBuffer.get(int[] dst)
          相対一括「get」メソッドです。
 IntBuffer IntBuffer.get(int[] dst, int offset, int length)
          相対一括「get」メソッドです。
abstract  IntBuffer IntBuffer.put(int i)
          相対「put」メソッドです (オプション)。
 IntBuffer IntBuffer.put(int[] src)
          相対一括「put」メソッドです (オプション)。
 IntBuffer IntBuffer.put(int[] src, int offset, int length)
          相対一括「put」メソッドです (オプション)。
 IntBuffer IntBuffer.put(IntBuffer src)
          相対一括「put」メソッドです (オプション)。
abstract  IntBuffer IntBuffer.put(int index, int i)
          絶対「put」メソッドです (オプション)。
abstract  IntBuffer IntBuffer.slice()
          現在のバッファーのコンテンツの共有のサブシーケンスをコンテンツとする新しい 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)
          現在のバッファーを別のバッファーと比較します。
 IntBuffer IntBuffer.put(IntBuffer src)
          相対一括「put」メソッドです (オプション)。
 


JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。