List of Collection methods: Difference between revisions
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 | <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 | <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.
Method | Class | Description |
---|---|---|
Add | Arraylist | Add Arraylist items |
Audit | Arraylist | Audit Arraylist |
Audit | GenericNamedArraylist | Audit items |
Average | Arraylist | Average the members of this ArrayList |
Average | GenericNamedArraylist | Calculate average of items or function of items |
Copy | Arraylist | Copy the Arraylist |
Copy | FloatNamedArraylist | Copy FloatNamedArraylist |
Copy | NamedArraylist | Copy the NamedArraylist |
Copy | UnicodeNamedArraylist | Copy UnicodeNamedArraylist |
Count | Arraylist | Number of items in Arraylist |
Count | GenericNamedArraylist | Number of items |
CountSubset | Arraylist | Number of items matching a criterion |
CountSubset | GenericNamedArraylist | Number of items that match some selection criteria |
DeepCopy | Arraylist | Deep Copy the Arraylist |
DeepCopy | FloatNamedArraylist | Deep Copy FloatNamedArraylist |
DeepCopy | NamedArraylist | Deep Copy NamedArraylist |
DeepCopy | UnicodeNamedArraylist | Deep Copy UnicodeNamedArraylist |
Default | GenericNamedArraylist | Value for Item to return when Name has no value |
Dequeue | Arraylist | Retrieve first Arraylist item, then remove item |
Enqueue | Arraylist | Add item to end of Arraylist |
FindNextItem | Arraylist | Find matching Arraylist item |
FindNextItem | GenericNamedArraylist | Next item that matches some selection criteria |
FindNextItemNumber | Arraylist | Return number of matching item |
FindNextItemNumber | GenericNamedArraylist | Item number of next item that matches some selection criteria |
FindPreviousItem | Arraylist | Find matching Arraylist item |
FindPreviousItem | GenericNamedArraylist | Previous item that matches some selection criteria |
FindPreviousItemNumber | Arraylist | Return number of matching item |
FindPreviousItemNumber | GenericNamedArraylist | Item number of previous item that matches some selection criteria |
FirstItem | Arraylist | Retrieve or set value of first Arraylist item |
Insert | Arraylist | Insert items into Arraylist |
Item | Arraylist | Return or set Arraylist item value |
Item | FloatNamedArraylist | Value of named item |
Item | NamedArraylist | Value of named item |
Item | UnicodeNamedArraylist | Value of named item |
ItemByNumber | GenericNamedArraylist | Return or set item using item number |
LastItem | Arraylist | Retrieve or set value of last Arraylist item |
List | Arraylist | Construct and populate a new Arraylist |
Maximum | Arraylist | Get number of maximum item |
Maximum | FloatNamedArraylist | Name of item with maximum value or maximum value of function applied to items |
Maximum | NamedArraylist | Name of item with maximum value or maximum value of function applied to items |
Maximum | UnicodeNamedArraylist | Name of item with maximum value or maximum value of function applied to items |
MaximumItem | Arraylist | Get item that has maximum value |
MaximumItem | GenericNamedArraylist | Item with maximum value or maximum value of function applied to items |
Minimum | Arraylist | Get number of minimum item |
Minimum | FloatNamedArraylist | Name of item with minimum value or minimum value of function applied to items |
Minimum | NamedArraylist | Name of item with minimum value or minimum value of function applied to items |
Minimum | UnicodeNamedArraylist | Name of item with minimum value or minimum value of function applied to items |
MinimumItem | Arraylist | Get item that has minimum value |
MinimumItem | GenericNamedArraylist | Item with minimum value or minimum value of function applied to items |
NameByNumber | FloatNamedArraylist | Name of specified item number |
NameByNumber | NamedArraylist | Name of specified item number |
NameByNumber | UnicodeNamedArraylist | Name of specified item |
New | Arraylist | Create a new Arraylist object |
New | GenericNamedArraylist | Create a new GenericNamedArraylist object |
Number | FloatNamedArraylist | Item number of specified name |
Number | NamedArraylist | Item number of specified name |
Number | UnicodeNamedArraylist | Item number of specified name |
Pop | Arraylist | Retrieve last Arraylist item, then remove item |
Arraylist | Print Arraylist | |
GenericNamedArraylist | Print items | |
Push | Arraylist | Append item to Arraylist |
RemoveItem | Arraylist | Remove item from Arraylist |
RemoveItem | FloatNamedArraylist | Remove item from FloatNamedArraylist |
RemoveItem | NamedArraylist | Remove item from NamedArraylist |
RemoveItem | UnicodeNamedArraylist | Remove item from UnicodeNamedArraylist |
Sort | Arraylist | Sort the input Arraylist |
SortNew | Arraylist | Return new sorted Arraylist |
SortNew | GenericNamedArraylist | Sort items to an Arraylist |
StandardDeviation | Arraylist | Compute the standard deviation of the items |
StandardDeviation | GenericNamedArraylist | Calculate standard deviation of items or function of items |
SubsetNew | Arraylist | Return all matching Arraylist items |
SubsetNew | FloatNamedArraylist | Create NamedArraylist of items matching some selection criteria |
SubsetNew | NamedArraylist | Create NamedArraylist of items matching some selection criteria |
SubsetNew | UnicodeNamedArraylist | Create UnicodeNamedArraylist of items matching some selection criteria |
Sum | Arraylist | Compute the sum of the items |
Sum | GenericNamedArraylist | Calculate sum of items or function of items |
Trace | Arraylist | Trace Arraylist |
Trace | GenericNamedArraylist | Trace items |
UseDefault | GenericNamedArraylist | Flag indicating whether or not Item returns the Default value when name has no value |
Variance | Arraylist | Compute the variance of the items |
Variance | GenericNamedArraylist | Calculate variance of items or function of items |