List of Collection methods: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 4: Line 4:
<table class="wikitable">
<table class="wikitable">
<tr><th>Method</th><th>Class</th><th>Description</th></tr>
<tr><th>Method</th><th>Class</th><th>Description</th></tr>
<tr><td valign="top">[[Add (Arraylist function)|Add]]</td><td valign="top">Arraylist</td><td valign="top">Add an Arraylist item</td></tr>
<tr><td valign="top">[[Add (Arraylist function)|Add]]</td><td valign="top">Arraylist</td><td valign="top">Add Arraylist items</td></tr>
<tr><td valign="top">[[Audit (Arraylist subroutine)|Audit]]</td><td valign="top">Arraylist</td><td valign="top">Audit Arraylist</td></tr>
<tr><td valign="top">[[Audit (Arraylist subroutine)|Audit]]</td><td valign="top">Arraylist</td><td valign="top">Audit Arraylist</td></tr>
<tr><td valign="top">[[Audit (GenericNamedArraylist subroutine)|Audit]]</td><td valign="top">GenericNamedArraylist</td><td valign="top">Audit items</td></tr>
<tr><td valign="top">[[Audit (GenericNamedArraylist subroutine)|Audit]]</td><td valign="top">GenericNamedArraylist</td><td valign="top">Audit items</td></tr>
Line 33: Line 33:
<tr><td valign="top">[[FindPreviousItemNumber (GenericNamedArraylist function)|FindPreviousItemNumber]]</td><td valign="top">GenericNamedArraylist</td><td valign="top">Item number of previous item that matches some selection criteria</td></tr>
<tr><td valign="top">[[FindPreviousItemNumber (GenericNamedArraylist function)|FindPreviousItemNumber]]</td><td valign="top">GenericNamedArraylist</td><td valign="top">Item number of previous item that matches some selection criteria</td></tr>
<tr><td valign="top">[[FirstItem (Arraylist property)|FirstItem]]</td><td valign="top">Arraylist</td><td valign="top">Retrieve or set value of first Arraylist item</td></tr>
<tr><td valign="top">[[FirstItem (Arraylist property)|FirstItem]]</td><td valign="top">Arraylist</td><td valign="top">Retrieve or set value of first Arraylist item</td></tr>
<tr><td valign="top">[[Insert (Arraylist function)|Insert]]</td><td valign="top">Arraylist</td><td valign="top">Insert item into Arraylist</td></tr>
<tr><td valign="top">[[Insert (Arraylist function)|Insert]]</td><td valign="top">Arraylist</td><td valign="top">Insert items into Arraylist</td></tr>
<tr><td valign="top">[[Item (Arraylist property)|Item]]</td><td valign="top">Arraylist</td><td valign="top">Return or set Arraylist item value</td></tr>
<tr><td valign="top">[[Item (Arraylist property)|Item]]</td><td valign="top">Arraylist</td><td valign="top">Return or set Arraylist item value</td></tr>
<tr><td valign="top">[[Item (FloatNamedArraylist property)|Item]]</td><td valign="top">FloatNamedArraylist</td><td valign="top">Value of named item</td></tr>
<tr><td valign="top">[[Item (FloatNamedArraylist property)|Item]]</td><td valign="top">FloatNamedArraylist</td><td valign="top">Value of named item</td></tr>
Line 56: Line 56:
<tr><td valign="top">[[NameByNumber (NamedArraylist function)|NameByNumber]]</td><td valign="top">NamedArraylist</td><td valign="top">Name of specified item number</td></tr>
<tr><td valign="top">[[NameByNumber (NamedArraylist function)|NameByNumber]]</td><td valign="top">NamedArraylist</td><td valign="top">Name of specified item number</td></tr>
<tr><td valign="top">[[NameByNumber (UnicodeNamedArraylist function)|NameByNumber]]</td><td valign="top">UnicodeNamedArraylist</td><td valign="top">Name of specified item</td></tr>
<tr><td valign="top">[[NameByNumber (UnicodeNamedArraylist function)|NameByNumber]]</td><td valign="top">UnicodeNamedArraylist</td><td valign="top">Name of specified item</td></tr>
<tr><td valign="top">[[New (Arraylist constructor)|New]]</td><td valign="top">Arraylist</td><td valign="top">Create a new Arraylist object</td></tr>
<tr><td valign="top">[[New (GenericNamedArraylist constructor)|New]]</td><td valign="top">GenericNamedArraylist</td><td valign="top">Create a new GenericNamedArraylist object</td></tr>
<tr><td valign="top">[[Number (FloatNamedArraylist function)|Number]]</td><td valign="top">FloatNamedArraylist</td><td valign="top">Item number of specified name</td></tr>
<tr><td valign="top">[[Number (FloatNamedArraylist function)|Number]]</td><td valign="top">FloatNamedArraylist</td><td valign="top">Item number of specified name</td></tr>
<tr><td valign="top">[[Number (NamedArraylist function)|Number]]</td><td valign="top">NamedArraylist</td><td valign="top">Item number of specified name</td></tr>
<tr><td valign="top">[[Number (NamedArraylist function)|Number]]</td><td valign="top">NamedArraylist</td><td valign="top">Item number of specified name</td></tr>
Line 86: Line 88:
==See also==
==See also==
<table class="list"><tr>
<table class="list"><tr>
<ul><li>[[Notation conventions for methods]]</ul>
<td valign="top"><ul style="margin-top:0px;">
<td valign="top"><ul style="margin-top:0px;">
<li>[[Arraylist class]]
<li>[[Arraylist class]]

Revision as of 20:51, 15 March 2011

The following are the available Collection methods.

MethodClassDescription
AddArraylistAdd Arraylist items
AuditArraylistAudit Arraylist
AuditGenericNamedArraylistAudit items
AverageArraylistAverage the members of this ArrayList
AverageGenericNamedArraylistCalculate average of items or function of items
CopyArraylistCopy the Arraylist
CopyFloatNamedArraylistCopy FloatNamedArraylist
CopyNamedArraylistCopy the NamedArraylist
CopyUnicodeNamedArraylistCopy UnicodeNamedArraylist
CountArraylistNumber of items in Arraylist
CountGenericNamedArraylistNumber of items
CountSubsetArraylistNumber of items matching a criterion
CountSubsetGenericNamedArraylistNumber of items that match some selection criteria
DeepCopyArraylistDeep Copy the Arraylist
DeepCopyFloatNamedArraylistDeep Copy FloatNamedArraylist
DeepCopyNamedArraylistDeep Copy NamedArraylist
DeepCopyUnicodeNamedArraylistDeep Copy UnicodeNamedArraylist
DefaultGenericNamedArraylistValue for Item to return when Name has no value
DequeueArraylistRetrieve first Arraylist item, then remove item
EnqueueArraylistAdd item to end of Arraylist
FindNextItemArraylistFind matching Arraylist item
FindNextItemGenericNamedArraylistNext item that matches some selection criteria
FindNextItemNumberArraylistReturn number of matching item
FindNextItemNumberGenericNamedArraylistItem number of next item that matches some selection criteria
FindPreviousItemArraylistFind matching Arraylist item
FindPreviousItemGenericNamedArraylistPrevious item that matches some selection criteria
FindPreviousItemNumberArraylistReturn number of matching item
FindPreviousItemNumberGenericNamedArraylistItem number of previous item that matches some selection criteria
FirstItemArraylistRetrieve or set value of first Arraylist item
InsertArraylistInsert items into Arraylist
ItemArraylistReturn or set Arraylist item value
ItemFloatNamedArraylistValue of named item
ItemNamedArraylistValue of named item
ItemUnicodeNamedArraylistValue of named item
ItemByNumberGenericNamedArraylistReturn or set item using item number
LastItemArraylistRetrieve or set value of last Arraylist item
ListArraylistConstruct and populate a new Arraylist
MaximumArraylistGet number of maximum item
MaximumFloatNamedArraylistName of item with maximum value or maximum value of function applied to items
MaximumNamedArraylistName of item with maximum value or maximum value of function applied to items
MaximumUnicodeNamedArraylistName of item with maximum value or maximum value of function applied to items
MaximumItemArraylistGet item that has maximum value
MaximumItemGenericNamedArraylistItem with maximum value or maximum value of function applied to items
MinimumArraylistGet number of minimum item
MinimumFloatNamedArraylistName of item with minimum value or minimum value of function applied to items
MinimumNamedArraylistName of item with minimum value or minimum value of function applied to items
MinimumUnicodeNamedArraylistName of item with minimum value or minimum value of function applied to items
MinimumItemArraylistGet item that has minimum value
MinimumItemGenericNamedArraylistItem with minimum value or minimum value of function applied to items
NameByNumberFloatNamedArraylistName of specified item number
NameByNumberNamedArraylistName of specified item number
NameByNumberUnicodeNamedArraylistName of specified item
NewArraylistCreate a new Arraylist object
NewGenericNamedArraylistCreate a new GenericNamedArraylist object
NumberFloatNamedArraylistItem number of specified name
NumberNamedArraylistItem number of specified name
NumberUnicodeNamedArraylistItem number of specified name
PopArraylistRetrieve last Arraylist item, then remove item
PrintArraylistPrint Arraylist
PrintGenericNamedArraylistPrint items
PushArraylistAppend item to Arraylist
RemoveItemArraylistRemove item from Arraylist
RemoveItemFloatNamedArraylistRemove item from FloatNamedArraylist
RemoveItemNamedArraylistRemove item from NamedArraylist
RemoveItemUnicodeNamedArraylistRemove item from UnicodeNamedArraylist
SortArraylistSort the input Arraylist
SortNewArraylistReturn new sorted Arraylist
SortNewGenericNamedArraylistSort items to an Arraylist
StandardDeviationArraylistCompute the standard deviation of the items
StandardDeviationGenericNamedArraylistCalculate standard deviation of items or function of items
SubsetNewArraylistReturn all matching Arraylist items
SubsetNewFloatNamedArraylistCreate NamedArraylist of items matching some selection criteria
SubsetNewNamedArraylistCreate NamedArraylist of items matching some selection criteria
SubsetNewUnicodeNamedArraylistCreate UnicodeNamedArraylist of items matching some selection criteria
SumArraylistCompute the sum of the items
SumGenericNamedArraylistCalculate sum of items or function of items
TraceArraylistTrace Arraylist
TraceGenericNamedArraylistTrace items
UseDefaultGenericNamedArraylistFlag indicating whether or not Item returns the Default value when name has no value
VarianceArraylistCompute the variance of the items
VarianceGenericNamedArraylistCalculate variance of items or function of items

See also