Java.Nio.ShortBuffer Members

The members of Java.Nio.ShortBuffer are listed below.

See Also: Inherited members from Java.Nio.Buffer

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
override
HasArraybool. Returns true if array and arrayOffset won't throw.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
Allocate(int) : ShortBuffer
Creates a short buffer based on a newly allocated short array.
override
ArrayOffset() : int
Returns the offset into the array returned by array of the first element of the buffer (optional operation).
abstract
AsReadOnlyBuffer() : ShortBuffer
Returns a read-only buffer that shares its content with this buffer.
abstract
Compact() : ShortBuffer
Compacts this short buffer.
CompareTo(ShortBuffer) : int
Compare the remaining shorts of this buffer to another short buffer's remaining shorts.
abstract
Duplicate() : ShortBuffer
Returns a duplicated buffer that shares its content with this buffer.
abstract
Get() : short
Returns the short at the current position and increases the position by 1.
Get(short[]) : ShortBuffer
Reads shorts from the current position into the specified short array and increases the position by the number of shorts read.
abstract
Get(int) : short
Returns the short at the specified index; the position is not changed.
Get(short[], int, int) : ShortBuffer
Reads shorts from the current position into the specified short array, starting from the specified offset, and increases the position by the number of shorts read.
abstract
Order() : ByteOrder
Returns the byte order used by this buffer when converting shorts from/to bytes.
Put(ShortBuffer) : ShortBuffer
Writes all the remaining shorts of the src short buffer to this buffer's current position, and increases both buffers' position by the number of shorts copied.
abstract
Put(short) : ShortBuffer
Writes the given short to the current position and increases the position by 1.
Put(short[]) : ShortBuffer
Writes shorts from the given short array to the current position and increases the position by the number of shorts written.
abstract
Put(int, short) : ShortBuffer
Writes a short to the specified index of this buffer; the position is not changed.
Put(short[], int, int) : ShortBuffer
Writes shorts from the given short array, starting from the specified offset, to the current position and increases the position by the number of shorts written.
abstract
Slice() : ShortBuffer
Returns a sliced buffer that shares its content with this buffer.
static
Wrap(short[]) : ShortBuffer
Creates a new short buffer by wrapping the given short array.
static
Wrap(short[], int, int) : ShortBuffer
Creates a new short buffer by wrapping the given short array.

Explicitly Implemented Interface Members

Java.Lang.IComparable.CompareToDocumentation for this section has not yet been entered.