Foxit PDF SDK
com.foxit.sdk.common.fxcrt.UInt32Array类 参考

无符号整数值数组。
更多...

类 com.foxit.sdk.common.fxcrt.UInt32Array 继承关系图:
com.foxit.sdk.common.fxcrt.BasicArray

Public 成员函数

boolean add (long newElement)
 在尾部添加元素。可能会增长数组。
更多...
 
int find (long data, int iStart)
 从指定位置到最后查找元素。
更多...
 
long getAt (int nIndex)
 此方法检索由索引号指定的元素。
更多...
 
int getSize ()
 获取数组中元素的数量。
更多...
 
int getUpperBound ()
 获取数组中的上界,实际上是最大有效索引。
更多...
 
void removeAll ()
 清理数组。
更多...
 
boolean removeAt (int nIndex, int nCount)
 在指定位置移除若干元素。
更多...
 
boolean setAt (int nIndex, long newElement)
 此方法覆盖由索引号指定的元素。
更多...
 
boolean setAtGrow (int nIndex, long newElement)
 在指定位置设置元素值。可能会增长数组。
更多...
 
boolean setSize (int nNewSize, int nGrowBy)
 更改分配的大小和增长量。
更多...
 

详细描述

无符号整数值数组。

成员函数说明

◆ add()

boolean com.foxit.sdk.common.fxcrt.UInt32Array.add ( long  newElement)

在尾部添加元素。可能会增长数组。

参数
[in]newElement输入的元素。
返回
true 表示成功,false 表示失败(如内存错误)。

◆ find()

int com.foxit.sdk.common.fxcrt.UInt32Array.find ( long  data,
int  iStart 
)

从指定位置到最后查找元素。

参数
[in]data输入的元素。
[in]iStart指定开始查找的起始元素的基于零的索引。
返回
找到的元素的索引。-1表示未找到。

◆ getAt()

long com.foxit.sdk.common.fxcrt.UInt32Array.getAt ( int  nIndex)

此方法检索由索引号指定的元素。

参数
[in]nIndex指定元素的基于零的索引。
返回
元素。

◆ getSize()

int com.foxit.sdk.common.fxcrt.UInt32Array.getSize ( )

获取数组中元素的数量。

返回
数组中元素的数量。

◆ getUpperBound()

int com.foxit.sdk.common.fxcrt.UInt32Array.getUpperBound ( )

获取数组中的上界,实际上是最大有效索引。

返回
上界。

◆ removeAll()

void com.foxit.sdk.common.fxcrt.UInt32Array.removeAll ( )

清理数组。

返回
无。

◆ removeAt()

boolean com.foxit.sdk.common.fxcrt.UInt32Array.removeAt ( int  nIndex,
int  nCount 
)

在指定位置移除若干元素。

参数
[in]nIndex指定数组中的基于零的索引。
[in]nCount指定要移除的元素数量。
返回
true 表示成功,false 表示失败(如参数或内存错误)。

◆ setAt()

boolean com.foxit.sdk.common.fxcrt.UInt32Array.setAt ( int  nIndex,
long  newElement 
)

此方法覆盖由索引号指定的元素。

参数
[in]nIndex指定元素的基于零的索引。
[in]newElement元素。
返回
true 表示成功,false 表示失败。

◆ setAtGrow()

boolean com.foxit.sdk.common.fxcrt.UInt32Array.setAtGrow ( int  nIndex,
long  newElement 
)

在指定位置设置元素值。可能会增长数组。

参数
[in]nIndex指定数组中元素的基于零的索引。
[in]newElement输入的元素。
返回
true 表示成功,false 表示失败。

◆ setSize()

boolean com.foxit.sdk.common.fxcrt.UInt32Array.setSize ( int  nNewSize,
int  nGrowBy 
)

更改分配的大小和增长量。

参数
[in]nNewSize期望的新大小(以元素为单位)。
[in]nGrowBy期望的增长量(以元素为单位)。这可以为-1表示增长量不变。
返回
true 表示成功,false 表示失败(如参数或内存错误)。