Servertec
Jenie
1.0.1 09/04/2005

stec.jenie
Class ULONGArray

java.lang.Object
  extended by stec.jenie.NativeObject
      extended by stec.jenie.NativeArray
          extended by stec.jenie.UINT64Array
              extended by stec.jenie.ULONGArray

public class ULONGArray
extends UINT64Array

Represents a native array of unsigned 64-bit long integers.

Arrays can only be passed or returned by functions and callbacks as a pointer to the array.

Since:
1.0.0 12/05/2004
See Also:
UINT64Array

Constructor Summary
ULONGArray(int size)
          Constructs a new one dimensional array of unsigned 64-bit long integers of specified number of long integers.
ULONGArray(int[] dimensions)
          Constructs a new n-dimensional array of unsigned 64-bit long integers of specified number of long integers.
ULONGArray(int size1, int size2)
          Constructs a new two dimensional array of unsigned 64-bit long integers of specified number of long integers.
ULONGArray(int size1, int size2, int size3)
          Constructs a new three dimensional array of unsigned 64-bit long integers of specified number of long integers.
ULONGArray(Pointer pointer, int size)
          Constructs a new one dimensional array of unsigned 64-bit long integers from the specified pointer to a one dimensional array of unsigned 64-bit long integers of specified number of long integers.
ULONGArray(Pointer pointer, int[] dimensions)
          Constructs a new n-dimensional array of unsigned 64-bit long integers from the specified pointer to a n-dimensional array of unsigned 64-bit long integers with the same number of dimensions and size of each dimension as the specified n-dimensional array of unsigned 64-bit long integers.
ULONGArray(Pointer pointer, int size1, int size2)
          Constructs a new two dimensional array of unsigned 64-bit long integers from the specified pointer to a two dimensional array of unsigned 64-bit long integers of specified number of long integers.
ULONGArray(Pointer pointer, int size1, int size2, int size3)
          Constructs a new three dimensional array of unsigned 64-bit long integers from the specified pointer to a three dimensional array of unsigned 64-bit long integers of specified number of long integers.
ULONGArray(Pointer pointer, ULONGArray array)
          Constructs a new n-dimensional array of unsigned 64-bit long integers from the specified pointer to a n-dimensional array of unsigned 64-bit long integers with the same number of dimensions and size of each dimension as the specified n-dimensional array of unsigned 64-bit long integers.
ULONGArray(UINT64Array array)
          Constructs a new n-dimensional array of unsigned 64-bit long integers with the same number of dimensions and size of each dimension as the specified n-dimensional array of unsigned 64-bit long integers.
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this array of unsigned 64-bit long integers.
 
Methods inherited from class stec.jenie.UINT64Array
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

ULONGArray

public ULONGArray(int size)
           throws java.lang.OutOfMemoryError,
                  java.lang.IllegalArgumentException
Constructs a new one dimensional array of unsigned 64-bit long integers of specified number of long integers.

Parameters:
size - the number of long integers in the array.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(int size1,
                  int size2)
           throws java.lang.OutOfMemoryError,
                  java.lang.IllegalArgumentException
Constructs a new two dimensional array of unsigned 64-bit long integers of specified number of long integers.

Parameters:
size1 - the size of the first dimension.
size2 - the size of the second dimension.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(int size1,
                  int size2,
                  int size3)
           throws java.lang.OutOfMemoryError,
                  java.lang.IllegalArgumentException
Constructs a new three dimensional array of unsigned 64-bit long integers of specified number of long integers.

Parameters:
size1 - the size of the first dimension.
size2 - the size of the second dimension.
size3 - the size of the third dimension.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(int[] dimensions)
           throws java.lang.OutOfMemoryError,
                  java.lang.IllegalArgumentException
Constructs a new n-dimensional array of unsigned 64-bit long integers of specified number of long integers.

Parameters:
dimensions - an array of long integers representing the number of dimensions and the size of each dimension.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(UINT64Array array)
           throws java.lang.OutOfMemoryError,
                  java.lang.IllegalArgumentException
Constructs a new n-dimensional array of unsigned 64-bit long integers with the same number of dimensions and size of each dimension as the specified n-dimensional array of unsigned 64-bit long integers.

Parameters:
array - the n-dimensional array of unsigned 64-bit long integers to use.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(Pointer pointer,
                  int size)
           throws java.lang.IllegalArgumentException
Constructs a new one dimensional array of unsigned 64-bit long integers from the specified pointer to a one dimensional array of unsigned 64-bit long integers of specified number of long integers.

Parameters:
pointer - the pointer to the one dimensional array of unsigned 64-bit long integers.
size - the number of long integers in the array.
Throws:
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(Pointer pointer,
                  int size1,
                  int size2)
           throws java.lang.IllegalArgumentException
Constructs a new two dimensional array of unsigned 64-bit long integers from the specified pointer to a two dimensional array of unsigned 64-bit long integers of specified number of long integers.

Parameters:
pointer - the pointer to the two dimensional array of unsigned 64-bit long integers.
size1 - the size of the first dimension.
size2 - the size of the second dimension.
Throws:
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(Pointer pointer,
                  int size1,
                  int size2,
                  int size3)
           throws java.lang.IllegalArgumentException
Constructs a new three dimensional array of unsigned 64-bit long integers from the specified pointer to a three dimensional array of unsigned 64-bit long integers of specified number of long integers.

Parameters:
pointer - the pointer to the three dimensional array of unsigned 64-bit long integers.
size1 - the size of the first dimension.
size2 - the size of the second dimension.
size3 - the size of the third dimension.
Throws:
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(Pointer pointer,
                  int[] dimensions)
           throws java.lang.IllegalArgumentException
Constructs a new n-dimensional array of unsigned 64-bit long integers from the specified pointer to a n-dimensional array of unsigned 64-bit long integers with the same number of dimensions and size of each dimension as the specified n-dimensional array of unsigned 64-bit long integers.

Parameters:
pointer - the pointer to the n-dimensional array of unsigned 64-bit long integers.
dimensions - an array of long integers representing the number of dimensions and the size of each dimension.
Throws:
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.

ULONGArray

public ULONGArray(Pointer pointer,
                  ULONGArray array)
           throws java.lang.IllegalArgumentException
Constructs a new n-dimensional array of unsigned 64-bit long integers from the specified pointer to a n-dimensional array of unsigned 64-bit long integers with the same number of dimensions and size of each dimension as the specified n-dimensional array of unsigned 64-bit long integers.

Parameters:
pointer - the pointer to the n-dimensional array of unsigned 64-bit long integers.
array - the n-dimensional array of unsigned 64-bit long integers to use.
Throws:
java.lang.IllegalArgumentException - if any of the specified parameters are invalid.
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.OutOfMemoryError
Returns a clone of this array of unsigned 64-bit long integers.

Overrides:
clone in class UINT64Array
Returns:
the clone of this array of unsigned 64-bit long integers.
Throws:
java.lang.OutOfMemoryError - if there is not enough free memory.

Servertec
Jenie
1.0.1 09/04/2005

Copyright © 2004-2005 Servertec. All rights reserved.