| | Uiinfrastructure API Docs | |
| PTGrowableSortedArrayWrapper.Initialize Method (Int32[], Object[][], Int32[][], Boolean, Int32, Int32) |
MES- Initialize is equivalent to the PTSortedArrayWrapper call of the same name
Parameters
-
arrColumnIDs
- contains the Property IDs for each column in arrData. The size of arrColumnIDs should be equal to the number of columns in arrData.
-
arrData
- contains the actual data to be stored and manipulated. The index convention matches the Plumtree server- the first index is column, and the second is the row, like arrData[iColIndex][iRowIndex]
-
arrSort
- is a 2D int array of PropertyIDs to sort by. It should contain a column for each sort. The first row holds the PropertyID, and the second row holds the sort direction, PTSAW_SORT_ASCENDING or PTSAW_SORT_DESCENDING
-
bRequiresSort
- indicates if arrData is already sorted as indicated by arrSort. If the client knows that the data is already sorted, we can skip the sort, and we can also optimize access.
-
iInitialSize
- indicates the initial size of the array, if the client wishes to preallocate some rows.
-
iPercentIncrease
- allows the client to indicate the amount by which we should grow the array when we add rows. It's expressed as a percent, e.g. a client would pass in 300 to have the array triple in size when expanding. Values less than 110 are replaced with 110.
See Also
PTGrowableSortedArrayWrapper Class | com.plumtree.uiinfrastructure.arraywrapper Namespace | PTGrowableSortedArrayWrapper.Initialize Overload List