|
Foxit PDF SDK
|
An array of float values. More...
Public Member Functions | |
| FloatArray () | |
| Construct a simple object. | |
| FloatArray (FloatArray other) | |
| Constructor, with another array object. More... | |
| boolean | add (float newElement) |
| Add an element at the tail. Potentially growing the array. More... | |
| int | find (float data, int iStart) |
| Find an element from specified position to last. More... | |
| float | getAt (int nIndex) |
| This method retrieves an element specified by an index number. More... | |
| int | getSize () |
| Get the number of elements in the array. More... | |
| int | getUpperBound () |
| Get the upper bound in the array, actually the maximum valid index. More... | |
| boolean | insertAt (int nIndex, float newElement, int nCount) |
| Inset one or more continuous element at specified position. More... | |
| boolean | insertAt (int nStartIndex, BasicArray pNewArray) |
| Inset an array at specified position. More... | |
| void | removeAll () |
| Clean up the array. More... | |
| boolean | removeAt (int nIndex, int nCount) |
| Remove a number of elements at specified position. More... | |
| boolean | setAt (int nIndex, float newElement) |
| This method overwrites an element specified by an index number. More... | |
| boolean | setAtGrow (int nIndex, float newElement) |
| Set an element value at specified position. Potentially growing the array. More... | |
| boolean | setSize (int nNewSize, int nGrowBy) |
| Change the allocated size and the grow amount. More... | |
An array of float values.
| com.foxit.sdk.pdf.graphics.FloatArray.FloatArray | ( | FloatArray | other | ) |
Constructor, with another array object.
| [in] | other | Another array object. |
| boolean com.foxit.sdk.common.fxcrt.FloatArray.add | ( | float | newElement | ) |
Add an element at the tail. Potentially growing the array.
| [in] | newElement | The input element. |
| int com.foxit.sdk.common.fxcrt.FloatArray.find | ( | float | data, |
| int | iStart | ||
| ) |
Find an element from specified position to last.
| [in] | data | The input element. |
| [in] | iStart | Specifies the zero-based index of start element to find. |
| float com.foxit.sdk.common.fxcrt.FloatArray.getAt | ( | int | nIndex | ) |
This method retrieves an element specified by an index number.
| [in] | nIndex | Specifies the zero-based index of the element. |
| int com.foxit.sdk.common.fxcrt.FloatArray.getSize | ( | ) |
Get the number of elements in the array.
| int com.foxit.sdk.common.fxcrt.FloatArray.getUpperBound | ( | ) |
Get the upper bound in the array, actually the maximum valid index.
| boolean com.foxit.sdk.common.fxcrt.FloatArray.insertAt | ( | int | nIndex, |
| float | newElement, | ||
| int | nCount | ||
| ) |
Inset one or more continuous element at specified position.
| [in] | nIndex | Specifies the zero-based index in the array. |
| [in] | newElement | Specifies the element value to insert. |
| [in] | nCount | Specifies the count of the element to insert. |
| boolean com.foxit.sdk.common.fxcrt.FloatArray.insertAt | ( | int | nStartIndex, |
| BasicArray | pNewArray | ||
| ) |
Inset an array at specified position.
| [in] | nStartIndex | Specifies the zero-based index of start element to insert at. |
| [in] | pNewArray | The input array. |
| void com.foxit.sdk.common.fxcrt.FloatArray.removeAll | ( | ) |
Clean up the array.
| boolean com.foxit.sdk.common.fxcrt.FloatArray.removeAt | ( | int | nIndex, |
| int | nCount | ||
| ) |
Remove a number of elements at specified position.
| [in] | nIndex | Specifies the zero-based index in the array. |
| [in] | nCount | Specifies the count of element to remove. |
| boolean com.foxit.sdk.common.fxcrt.FloatArray.setAt | ( | int | nIndex, |
| float | newElement | ||
| ) |
This method overwrites an element specified by an index number.
| [in] | nIndex | Specifies the zero-based index of the element. |
| [in] | newElement | An element. |
| boolean com.foxit.sdk.common.fxcrt.FloatArray.setAtGrow | ( | int | nIndex, |
| float | newElement | ||
| ) |
Set an element value at specified position. Potentially growing the array.
| [in] | nIndex | Specifies the zero-based index of element in the array. |
| [in] | newElement | The input element. |
| boolean com.foxit.sdk.common.fxcrt.FloatArray.setSize | ( | int | nNewSize, |
| int | nGrowBy | ||
| ) |
Change the allocated size and the grow amount.
| [in] | nNewSize | The new size in elements expected. |
| [in] | nGrowBy | The grow amount in elements expected. This can be -1 for the grow amount unchanged. |