| j2native |
| AnsiString |
| Argument |
| ArrayArgument |
| ArrayType |
| Bool |
| Callback |
| Char |
| Const |
| DelegatedArgument |
| DoubleFloat |
| FloatArgument |
| FloatType |
| Function |
| FunctionExecutionException |
| FunctionNotFoundException |
| IllegalMemoryAccessException |
| Int |
| Int16 |
| Int32 |
| Int64 |
| Int8 |
| IntegerArgument |
| IntegerType |
| J2NativeContext |
| Library |
| LibraryLoader |
| LibraryNotFoundException |
| MemoryException |
| NumericArgument |
| NumericType |
| OutOnly |
| Pointer |
| Pointer.Const |
| Pointer.OutOnly |
| Pointer.Void |
| PointerArgument |
| PointerType |
| SimpleFloat |
| StringType |
| StructuralArgument |
| Structure |
| TypedPointer |
| UInt |
| UInt16 |
| UInt32 |
| UInt8 |
| Union |
| WideChar |
| WideString |
| ZeroTerminatedString |
|  |
com.smardec.j2native
Interface ArrayType
- All Known Implementing Classes:
- ArrayArgument
- public interface ArrayType
Common interface for all types representing arrays.
getElement
public Argument getElement(int index)
- Returns an array item specified by an index.
- Parameters:
- index - index of a requested array item
- Returns:
Argument item
setElement
public void setElement(int index,
Argument element)
- Replaces an array item with the specified object.
- Parameters:
- index - index of an item to be replaced
- element - object to be set as array item
getElementsCount
public int getElementsCount()
- Returns the number of elements in the array.
- Returns:
- elements quantity
setElementsCount
public void setElementsCount(int newCount)
- Resizes this array to a given size.
- Parameters:
- newCount - new array size
toArgumentsArray
public Argument[] toArgumentsArray()
- Returns items as Java array.
- Returns:
Argument[]
fromArgumentsArray
public void fromArgumentsArray(Argument[] arguments)
- Sets array contents to the given values.
- Parameters:
- arguments -
Argument[] array ot the new values
|
|
|