JavaTM 2 Platform
Standard Ed. 5.0

クラス
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 2 Platform
Standard Ed. 5.0

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

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