KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > nio > ShortBuffer

java.nio
Class ShortBuffer

java.lang.Object
  extended by java.nio.Buffer
      extended by java.nio.ShortBuffer
All Implemented Interfaces:
Comparable<ShortBuffer>
See Also:
Source Code, isDirect, wrapping, allocation, slicing, duplicating, compacting, bulk put, bulk get, put, get

public static ShortBuffer allocate(int capacity)
See Also:
IllegalArgumentException, array offset, backing array
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final short[] array()
See Also:
UnsupportedOperationException, ReadOnlyBufferException, hasArray
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final int arrayOffset()
See Also:
UnsupportedOperationException, ReadOnlyBufferException, hasArray
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract ShortBuffer asReadOnlyBuffer()
See Also:
duplicate
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract ShortBuffer compact()
See Also:
ReadOnlyBufferException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int compareTo(ShortBuffer that)
See Also:
Comparable, compareTo
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract ShortBuffer duplicate()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean equals(Object ob)
See Also:
Hashtable, Object.hashCode()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract short get()
See Also:
BufferUnderflowException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract short get(int index)
See Also:
IndexOutOfBoundsException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ShortBuffer get(short[] dst)
See Also:
BufferUnderflowException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ShortBuffer get(short[] dst,
                       int offset,
                       int length)
See Also:
IndexOutOfBoundsException, BufferUnderflowException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final boolean hasArray()
See Also:
arrayOffset, array
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int hashCode()
See Also:
Hashtable, Object.equals(java.lang.Object)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract boolean isDirect()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract ByteOrder order()
See Also:
native order
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract ShortBuffer put(int index,
                                short s)
See Also:
ReadOnlyBufferException, IndexOutOfBoundsException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ShortBuffer put(ShortBuffer src)
See Also:
ReadOnlyBufferException, IllegalArgumentException, BufferOverflowException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract ShortBuffer put(short s)
See Also:
ReadOnlyBufferException, BufferOverflowException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final ShortBuffer put(short[] src)
See Also:
ReadOnlyBufferException, BufferOverflowException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ShortBuffer put(short[] src,
                       int offset,
                       int length)
See Also:
ReadOnlyBufferException, IndexOutOfBoundsException, BufferOverflowException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract ShortBuffer slice()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ShortBuffer wrap(short[] array)
See Also:
array offset, backing array
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ShortBuffer wrap(short[] array,
                               int offset,
                               int length)
See Also:
IndexOutOfBoundsException, array offset, backing array
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags