The methods of the PTGrowableSortedArrayWrapper class are listed below. For a complete list of PTGrowableSortedArrayWrapper class members, see the PTGrowableSortedArrayWrapper Members topic.
AddRow | MES- Clients use the AddRow method to add a row to this array. NOTE: This will resort the entire array when adding a row. This can get very expensive. Therefore, this method should not be used for adding large numbers of rows. Use AddRows() instead. |
AddRows | MES- AddRows is the bulk equivalent of AddRow- it lets clients add multiple rows in a bulk operation. NOTE: This method only resorts the array once when adding bulk row. Therefore, this method should be used for adding large numbers of rows instead of calling AddRow() multiple times. AddRow will resort each time, which can get expensive. |
AddRowWithoutSort | ROB- Clients use the AddRow method to add a row to this array. Use SortArray to re-sort after adding multiple entries Added as to fix bug #51045: |
ClearArray | JF- Clears the entire array of Data. |
ContainsPropID (inherited from PTSortedArrayWrapper) | MES- ContainsPropID is used by clients to see if a given Property is represented by a column in the data. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetCount (inherited from PTSortedArrayWrapper) | MES- GetCount returns the number of rows in our data set |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetItem (inherited from PTSortedArrayWrapper) | MES- GetItem is used by clients to retrieve data from the array |
GetSort (inherited from PTSortedArrayWrapper) | MES- GetSort returns the current sort array |
GetType (inherited from Object) | Gets the Type of the current instance. |
Initialize | Overloaded. MES- Initialize is equivalent to the PTSortedArrayWrapper call of the same name |
RemoveRow | MES- RemoveRow lets the client indicate the row number of a row to remove. |
RemoveRows | MES- RemoveRows is the bulk anologue of RemoveRow |
SetItem (inherited from PTSortedArrayWrapper) | JF- SetItem is used by clients modify one cell in the array. |
SetItems (inherited from PTSortedArrayWrapper) | JF- SetItems is used by clients modify a number of cells in the array. |
Sort (inherited from PTSortedArrayWrapper) | MES- Sort is used by clients to resort the internal data according to new criteria. |
SortArray | ROB- Resort the internal array. Use after calling AddRowWithoutSort multiple times. This is an alternative to calling AddRows with a 2d array. Added as to fix bug #51045: |
ToString (inherited from Object) | Returns a String that represents the current Object. |
AddRowInternal | MES- AddRowInternal is an internal helper function that does the heavy lifting when adding a row. |
CalculateNextSize | MES- CalculateNexSize is an internal helper function that figures out, based on the current size, what the next size would be (taking into account m_iPercentIncrease, etc.) |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
GrowInternalArrayIfNeeded | MES- GrowInternalArrayIfNeeded is an internal helper function that checks if m_arrData is large enough to hold more rows, and makes it larger if needed. |
MapColumnIDs (inherited from PTSortedArrayWrapper) | MES- MapColumnIDs is an internal function that sets up the m_hashPropIDtoColumn mapping based on an array of ColumnIDs |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
ResizeArray | MES- ResizeArray is an internal helper function that changes the number of rows in an array (by creating a new array and copying the data over.) |
SortInternal (inherited from PTSortedArrayWrapper) | MES- SortInternal is an internal helper function that actually performs the sort based on m_arrSort. |
PTGrowableSortedArrayWrapper Class | com.plumtree.uiinfrastructure.arraywrapper Namespace