Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.nio

Class IntBuffer

java.lang.Object
|
+--java.nio.Buffer
   |
   +--java.nio.IntBuffer

All Implemented Interfaces:

Comparable


public abstract class IntBuffer

extends Buffer

implements Comparable

Field Summary

int[]backing_buffer

Method Summary

static java.nio.IntBufferallocate(int capacity)

static java.nio.IntBufferallocateDirect(int capacity)

int[]array()

intarrayOffset()

java.nio.IntBufferasReadOnlyBuffer()

java.nio.IntBuffercompact()

intcompareTo(java.lang.Object ob)

java.nio.IntBufferduplicate()

booleanequals(java.lang.Object obj)

java.nio.IntBufferget(int[] dst, int offset, int length)

java.nio.IntBufferget(int[] dst)

intget()

intget(int index)

booleanhasArray()

inthashCode()

booleanisDirect()

java.nio.ByteOrderorder()

java.nio.IntBufferorder(java.nio.ByteOrder bo)

java.nio.IntBufferput(java.nio.IntBuffer src)

java.nio.IntBufferput(int[] src, int offset, int length)

java.nio.IntBufferput(int[] src)

java.nio.IntBufferput(int b)

java.nio.IntBufferput(int index, int b)

java.nio.IntBufferslice()

static java.nio.IntBufferwrap(int[] array, int offset, int length)

static java.nio.IntBufferwrap(java.lang.String a)

static java.nio.IntBufferwrap(int[] array)

Field Details

backing_buffer

protected int[] backing_buffer


Method Details

allocate

public static IntBuffer allocate(int capacity)

Parameters:


allocateDirect

public static IntBuffer allocateDirect(int capacity)

Parameters:


array

public final int[] array()


arrayOffset

public final int arrayOffset()


asReadOnlyBuffer

public IntBuffer asReadOnlyBuffer()


compact

public IntBuffer compact()


compareTo

public int compareTo(java.lang.Object ob)

Parameters:


duplicate

public IntBuffer duplicate()


equals

public boolean equals(java.lang.Object obj)

Parameters:


get

public int get()


get

public IntBuffer get(int[] dst)

Parameters:


get

public int get(int index)

Parameters:


get

public IntBuffer get(int[] dst, int offset, int length)

Parameters:


hasArray

public final boolean hasArray()


hashCode

public int hashCode()


isDirect

public boolean isDirect()


order

public ByteOrder order()


order

public final IntBuffer order(java.nio.ByteOrder bo)

Parameters:


put

public final IntBuffer put(int[] src)

Parameters:


put

public IntBuffer put(int b)

Parameters:


put

public IntBuffer put(int index, int b)

Parameters:


put

public IntBuffer put(int[] src, int offset, int length)

Parameters:


put

public IntBuffer put(java.nio.IntBuffer src)

Parameters:


slice

public IntBuffer slice()


wrap

public static final IntBuffer wrap(int[] array)

Parameters:


wrap

public static final IntBuffer wrap(int[] array, int offset, int length)

Parameters:


wrap

public static final IntBuffer wrap(java.lang.String a)

Parameters: