public abstract class TShortBuffer extends TBuffer implements Comparable<TShortBuffer>
Modifier and Type | Method and Description |
---|---|
static TShortBuffer |
allocate(int capacity) |
short[] |
array() |
int |
arrayOffset() |
abstract TShortBuffer |
asReadOnlyBuffer() |
TShortBuffer |
clear() |
abstract TShortBuffer |
compact() |
int |
compareTo(TShortBuffer other) |
abstract TShortBuffer |
duplicate() |
boolean |
equals(Object obj) |
TShortBuffer |
flip() |
abstract short |
get() |
abstract short |
get(int index) |
TShortBuffer |
get(short[] dst) |
TShortBuffer |
get(short[] dst,
int offset,
int length) |
boolean |
hasArray() |
int |
hashCode() |
abstract boolean |
isDirect() |
TShortBuffer |
limit(int newLimit) |
TShortBuffer |
mark() |
abstract TByteOrder |
order() |
TShortBuffer |
position(int newPosition) |
abstract TShortBuffer |
put(int index,
short b) |
abstract TShortBuffer |
put(short b) |
TShortBuffer |
put(short[] src) |
TShortBuffer |
put(short[] src,
int offset,
int length) |
TShortBuffer |
put(TShortBuffer src) |
TShortBuffer |
reset() |
TShortBuffer |
rewind() |
abstract TShortBuffer |
slice() |
String |
toString() |
static TShortBuffer |
wrap(short[] array) |
static TShortBuffer |
wrap(short[] array,
int offset,
int length) |
capacity, hasRemaining, isReadOnly, limit, position, remaining
public static TShortBuffer allocate(int capacity)
public static TShortBuffer wrap(short[] array, int offset, int length)
public static TShortBuffer wrap(short[] array)
public abstract TShortBuffer slice()
public abstract TShortBuffer duplicate()
public abstract TShortBuffer asReadOnlyBuffer()
public abstract short get()
public abstract TShortBuffer put(short b)
public abstract short get(int index)
public abstract TShortBuffer put(int index, short b)
public TShortBuffer get(short[] dst, int offset, int length)
public TShortBuffer get(short[] dst)
public TShortBuffer put(TShortBuffer src)
public TShortBuffer put(short[] src, int offset, int length)
public final TShortBuffer put(short[] src)
public final int arrayOffset()
arrayOffset
in class TBuffer
public abstract TShortBuffer compact()
public int compareTo(TShortBuffer other)
compareTo
in interface Comparable<TShortBuffer>
public abstract TByteOrder order()
public final TShortBuffer mark()
public final TShortBuffer reset()
public final TShortBuffer clear()
public final TShortBuffer flip()
public final TShortBuffer rewind()
public TShortBuffer limit(int newLimit)
public TShortBuffer position(int newPosition)
Copyright © 2019. All rights reserved.