|
Servertec Jenie 1.0.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectstec.jenie.NativeObject
stec.jenie.NativeArray
stec.jenie.UINT8Array
stec.jenie.BYTEArray
public class BYTEArray
Represents a native array of unsigned 8-bit bytes.
Arrays can only be passed or returned by functions and callbacks as a pointer to the array.
UINT8Array| Constructor Summary | |
|---|---|
BYTEArray(BYTEArray array)
Constructs a new n-dimensional array of unsigned 8-bit bytes with the same number of dimensions and size of each dimension as the specified unsigned 8-bit byte native array. |
|
BYTEArray(int size)
Constructs a new one dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
BYTEArray(int[] dimensions)
Constructs a new n-dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
BYTEArray(int size1,
int size2)
Constructs a new two dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
BYTEArray(int size1,
int size2,
int size3)
Constructs a new three dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
BYTEArray(Pointer pointer,
BYTEArray array)
Constructs a new n-dimensional array of unsigned 8-bit bytes from the specified pointer to a n-dimensional array of unsigned 8-bit bytes with the same number of dimensions and size of each dimension as the specified unsigned 8-bit byte native array. |
|
BYTEArray(Pointer pointer,
int size)
Constructs a new one dimensional array of unsigned 8-bit bytes from the specified pointer to a one dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
BYTEArray(Pointer pointer,
int[] dimensions)
Constructs a new n-dimensional array of unsigned 8-bit bytes from the specified pointer to a n-dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
BYTEArray(Pointer pointer,
int size1,
int size2)
Constructs a new two dimensional array of unsigned 8-bit bytes from the specified pointer to a two dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
BYTEArray(Pointer pointer,
int size1,
int size2,
int size3)
Constructs a new three dimensional array of unsigned 8-bit bytes from the specified pointer to a three dimensional array of unsigned 8-bit bytes of specified number of bytes. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of this array of unsigned 8-bit bytes. |
| Methods inherited from class stec.jenie.UINT8Array |
|---|
equals, getValueAt, getValueAt, getValueAt, getValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt, setValueAt |
| Methods inherited from class stec.jenie.NativeArray |
|---|
getDimensions, getElementSize, getOffset, getOffset, getOffset, getOffset, i2a, i2a, i2a |
| Methods inherited from class stec.jenie.NativeObject |
|---|
getAlignment, getNativeAddress, getNativeBuffer, getNativeBufferHandle, hashCode, setNativeBuffer, setNativeBuffer, setNativeBuffer, size |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BYTEArray(int size)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
size - the number of bytes in the array.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException
public BYTEArray(int size1,
int size2)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
size1 - the size of the first dimension.size2 - the size of the second dimension.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(int size1,
int size2,
int size3)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
size1 - the size of the first dimension.size2 - the size of the second dimension.size3 - the size of the third dimension.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(int[] dimensions)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
dimensions - an array of bytes representing the number of dimensions and the size of each dimension.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(BYTEArray array)
throws java.lang.OutOfMemoryError,
java.lang.IllegalArgumentException
array - the n-dimensional array of unsigned 8-bit bytes to use.
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(Pointer pointer,
int size)
throws java.lang.IllegalArgumentException
pointer - the pointer to the one dimensional array of unsigned 8-bit bytes.size - the number of bytes in the array.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(Pointer pointer,
int size1,
int size2)
throws java.lang.IllegalArgumentException
pointer - the pointer to the two dimensional array of unsigned 8-bit bytes.size1 - the size of the first dimension.size2 - the size of the second dimension.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(Pointer pointer,
int size1,
int size2,
int size3)
throws java.lang.IllegalArgumentException
pointer - the pointer to the three dimensional array of unsigned 8-bit bytes.size1 - the size of the first dimension.size2 - the size of the second dimension.size3 - the size of the third dimension.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(Pointer pointer,
int[] dimensions)
throws java.lang.IllegalArgumentException
pointer - the pointer to the n-dimensional array of unsigned 8-bit bytes.dimensions - an array of bytes representing the number of dimensions and the size of each dimension.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
public BYTEArray(Pointer pointer,
BYTEArray array)
throws java.lang.IllegalArgumentException
pointer - the pointer to the n-dimensional array of unsigned 8-bit bytes.array - the n-dimensional array of unsigned 8-bit bytes to use.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.OutOfMemoryError
clone in class UINT8Arrayjava.lang.OutOfMemoryError - if there is not enough free memory.
|
Servertec Jenie 1.0.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2004-2005 Servertec. All rights reserved.