Package org.teavm.classlib.java.nio
Class TShortBuffer
java.lang.Object
org.teavm.classlib.java.nio.TBuffer
org.teavm.classlib.java.nio.TShortBuffer
- All Implemented Interfaces:
Comparable<TShortBuffer>
-
Method Summary
Modifier and TypeMethodDescriptionstatic TShortBuffer
allocate
(int capacity) final short[]
array()
final int
abstract TShortBuffer
final TShortBuffer
clear()
abstract TShortBuffer
compact()
int
compareTo
(TShortBuffer other) abstract TShortBuffer
boolean
final TShortBuffer
flip()
abstract short
get()
abstract short
get
(int index) get
(short[] dst) get
(short[] dst, int offset, int length) final boolean
hasArray()
int
hashCode()
abstract boolean
isDirect()
limit
(int newLimit) final TShortBuffer
mark()
abstract TByteOrder
order()
position
(int newPosition) abstract TShortBuffer
put
(int index, short b) abstract TShortBuffer
put
(short b) final TShortBuffer
put
(short[] src) put
(short[] src, int offset, int length) put
(TShortBuffer src) final TShortBuffer
reset()
final TShortBuffer
rewind()
abstract TShortBuffer
slice()
toString()
static TShortBuffer
wrap
(short[] array) static TShortBuffer
wrap
(short[] array, int offset, int length) Methods inherited from class org.teavm.classlib.java.nio.TBuffer
capacity, hasRemaining, isReadOnly, limit, position, remaining
-
Method Details
-
allocate
-
wrap
-
wrap
-
slice
-
duplicate
-
asReadOnlyBuffer
-
get
public abstract short get() -
put
-
get
public abstract short get(int index) -
put
-
get
-
get
-
put
-
put
-
put
-
hasArray
public final boolean hasArray() -
array
public final short[] array() -
arrayOffset
public final int arrayOffset()- Specified by:
arrayOffset
in classTBuffer
-
compact
-
isDirect
public abstract boolean isDirect() -
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<TShortBuffer>
-
order
-
mark
-
reset
-
clear
-
flip
-
rewind
-
limit
-
position
-