public static class PrimitiveArray.Int2 extends PrimitiveArray
PrimitiveArray.Bool, PrimitiveArray.Float4, PrimitiveArray.Float8, PrimitiveArray.Int1, PrimitiveArray.Int2, PrimitiveArray.Int4, PrimitiveArray.Int8| Modifier | Constructor and Description |
|---|---|
protected |
Int2(ByteBuffer buffer) |
|
Int2(int length) |
protected |
Int2(Interpretation interpretation,
ByteBuffer buffer) |
|
Int2(Interpretation interpretation,
int length) |
|
Int2(Interpretation interpretation,
RawArray rawarray) |
|
Int2(RawArray rawarray) |
|
Int2(short[] data,
boolean bigEndian) |
| Modifier and Type | Method and Description |
|---|---|
protected Array |
make(ByteBuffer out) |
Array |
subarray() |
Object |
toArray(boolean bigEndian) |
short |
toShort(int index) |
String |
toString() |
clip, copyitems, disk_itemsize, memory_itemsize, multiplicity, numitems, raw, rawarrayinterpretation, length, toArraypublic Int2(Interpretation interpretation, int length)
public Int2(Interpretation interpretation, RawArray rawarray)
protected Int2(Interpretation interpretation, ByteBuffer buffer)
public Int2(int length)
public Int2(RawArray rawarray)
protected Int2(ByteBuffer buffer)
public Int2(short[] data,
boolean bigEndian)
protected Array make(ByteBuffer out)
make in class PrimitiveArraypublic short toShort(int index)
Copyright © 2019. All rights reserved.