Uiinfrastructure API Docs  
 

PTGrowableSortedArrayWrapper Fields

The fields of the PTGrowableSortedArrayWrapper class are listed below. For a complete list of PTGrowableSortedArrayWrapper class members, see the PTGrowableSortedArrayWrapper Members topic.

Protected Static Fields

PTGSAW_MINIMUM_PCT_INCREASE MES- PTGSAW_MINIMUM_PCT_INCREASE is the minimum percent increase for the array

Protected Instance Fields

m_arrColumnIDs MES- We store the mapping of column IDs, because we sometimes have to rebuild m_hashPropIDtoColumn
m_arrData (inherited from PTSortedArrayWrapper) MES- m_arrData stores the actual data
m_arrSort (inherited from PTSortedArrayWrapper) MES- m_arrSort stores the current sort we're displaying
m_bSortOptimized (inherited from PTSortedArrayWrapper) MES- When the data is correctly sorted according to m_arrSort, we can skip the step of dereferencing rows through m_lstRowMapping. m_bSortOptimized holds a boolean to indicate if we can skip the dereferencing.
m_hashPropIDtoColumn (inherited from PTSortedArrayWrapper) MES- m_hashPropIDtoColumn stores a map of Property ID to the column that contains data for that property. Note that the map points to the actual column object.
m_iPercentIncrease MES- m_iPercentIncrease tells us how much we should grow by when we want to grow
m_lstRowMapping (inherited from PTSortedArrayWrapper) MES- m_lstRowMapping holds the row numbers. When we do a sort, we rearrange the items in m_lstRowMapping, but we do NOT rearrange the data itself. This layer of indirection lets us resort easily and relatively cheaply.
m_lstUnusedRowMapping MES- m_lstUnusedRowMapping is a list of the empty rows. We use this when we want to add a new row to the array- we may be able to sneak the data into an existing row. Every row should either be in m_lstRowMapping or m_lstUnusedRowMapping.

See Also

PTGrowableSortedArrayWrapper Class | com.plumtree.uiinfrastructure.arraywrapper Namespace