List of Arraylist methods: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
{{Template: | The following are the available <var>[[Arraylist class|Arraylist]]</var> class methods. | ||
{{Template:Method list header|class=Arraylist}} | |||
<div class="showVisit"> | |||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr><th>Method</th><th>Description</th></tr> | <tr><th>Method</th><th>Description</th></tr> | ||
<tr><td>[[Add (Arraylist function)|Add]]</td><td>Add | <tr><td valign="top">[[Add (Arraylist function)|Add]]</td><td valign="top">Add Arraylist items</td></tr> | ||
<tr><td>[[Audit (Arraylist subroutine)|Audit]]</td><td>Audit Arraylist</td></tr> | <tr><td valign="top">[[Audit (Arraylist subroutine)|Audit]]</td><td valign="top">Audit Arraylist</td></tr> | ||
<tr><td>[[Average (Arraylist function)|Average]]</td><td>Average the members of this ArrayList</td></tr> | <tr><td valign="top">[[Average (Arraylist function)|Average]]</td><td valign="top">Average the members of this ArrayList</td></tr> | ||
<tr><td>[[Copy (Arraylist function)|Copy]]</td><td>Copy the Arraylist</td></tr> | <tr><td valign="top">[[Copy (Arraylist function)|Copy]]</td><td valign="top">Copy the Arraylist</td></tr> | ||
<tr><td>[[Count (Arraylist | <tr><td valign="top">[[Count (Arraylist property)|Count]]</td><td valign="top">Number of items in Arraylist</td></tr> | ||
<tr><td>[[CountSubset (Arraylist function)|CountSubset]]</td><td>Number of items matching a criterion</td></tr> | <tr><td valign="top">[[CountSubset (Arraylist function)|CountSubset]]</td><td valign="top">Number of items matching a criterion</td></tr> | ||
<tr><td>[[DeepCopy (Arraylist function)|DeepCopy]]</td><td>Deep Copy the Arraylist</td></tr> | <tr><td valign="top">[[DeepCopy (Arraylist function)|DeepCopy]]</td><td valign="top">Deep Copy the Arraylist</td></tr> | ||
<tr><td>[[Dequeue (Arraylist function)|Dequeue]]</td><td>Retrieve first Arraylist item, then remove item</td></tr> | <tr><td valign="top">[[Dequeue (Arraylist function)|Dequeue]]</td><td valign="top">Retrieve first Arraylist item, then remove item</td></tr> | ||
<tr><td>[[Enqueue (Arraylist function)|Enqueue]]</td><td>Add item to end of Arraylist</td></tr> | <tr><td valign="top">[[Enqueue (Arraylist function)|Enqueue]]</td><td valign="top">Add item to end of Arraylist</td></tr> | ||
<tr><td>[[FindNextItem (Arraylist function)|FindNextItem]]</td><td>Find matching Arraylist item</td></tr> | <tr><td valign="top">[[FindNextItem (Arraylist function)|FindNextItem]]</td><td valign="top">Find matching Arraylist item</td></tr> | ||
<tr><td>[[FindNextItemNumber (Arraylist function)|FindNextItemNumber]]</td><td>Return number of matching item</td></tr> | <tr><td valign="top">[[FindNextItemNumber (Arraylist function)|FindNextItemNumber]]</td><td valign="top">Return number of matching item</td></tr> | ||
<tr><td>[[FindPreviousItem (Arraylist function)|FindPreviousItem]]</td><td>Find matching Arraylist item</td></tr> | <tr><td valign="top">[[FindPreviousItem (Arraylist function)|FindPreviousItem]]</td><td valign="top">Find matching Arraylist item</td></tr> | ||
<tr><td>[[FindPreviousItemNumber (Arraylist function)|FindPreviousItemNumber]]</td><td>Return number of matching item</td></tr> | <tr><td valign="top">[[FindPreviousItemNumber (Arraylist function)|FindPreviousItemNumber]]</td><td valign="top">Return number of matching item</td></tr> | ||
<tr><td>[[FirstItem (Arraylist property)|FirstItem]]</td><td>Retrieve or set value of first Arraylist item</td></tr> | <tr><td valign="top">[[FirstItem (Arraylist property)|FirstItem]]</td><td valign="top">Retrieve or set value of first Arraylist item</td></tr> | ||
<tr><td>[[Insert (Arraylist function)|Insert]]</td><td>Insert | <tr><td valign="top">[[Insert (Arraylist function)|Insert]]</td><td valign="top">Insert items into Arraylist</td></tr> | ||
<tr><td>[[Item (Arraylist property)|Item]]</td><td>Return or set Arraylist item value</td></tr> | <tr><td valign="top">[[Item (Arraylist property)|Item]]</td><td valign="top">Return or set Arraylist item value</td></tr> | ||
<tr><td>[[LastItem (Arraylist property)|LastItem]]</td><td>Retrieve or set value of last Arraylist item</td></tr> | <tr><td valign="top">[[LastItem (Arraylist property)|LastItem]]</td><td valign="top">Retrieve or set value of last Arraylist item</td></tr> | ||
<tr><td>[[List (Arraylist function)|List]]</td><td>Construct and populate a new Arraylist</td></tr> | <tr><td valign="top">[[List (Arraylist function)|List]]</td><td valign="top">Construct and populate a new Arraylist</td></tr> | ||
<tr><td>[[Maximum (Arraylist function)|Maximum]]</td><td>Get number of maximum item</td></tr> | <tr><td valign="top">[[Maximum (Arraylist function)|Maximum]]</td><td valign="top">Get number of maximum item</td></tr> | ||
<tr><td>[[MaximumItem (Arraylist function)|MaximumItem]]</td><td>Get item that has maximum value</td></tr> | <tr><td valign="top">[[MaximumItem (Arraylist function)|MaximumItem]]</td><td valign="top">Get item that has maximum value</td></tr> | ||
<tr><td>[[Minimum (Arraylist function)|Minimum]]</td><td>Get number of minimum item</td></tr> | <tr><td valign="top">[[Minimum (Arraylist function)|Minimum]]</td><td valign="top">Get number of minimum item</td></tr> | ||
<tr><td>[[MinimumItem (Arraylist function)|MinimumItem]]</td><td>Get item that has minimum value</td></tr> | <tr><td valign="top">[[MinimumItem (Arraylist function)|MinimumItem]]</td><td valign="top">Get item that has minimum value</td></tr> | ||
<tr><td>[[Pop (Arraylist function)|Pop]]</td><td>Retrieve last Arraylist item, then remove item</td></tr> | <tr><td valign="top">[[New (Arraylist constructor)|New]]</td><td valign="top">Create a new Arraylist object</td></tr> | ||
<tr><td>[[Print (Arraylist subroutine)|Print]]</td><td>Print Arraylist</td></tr> | <tr><td valign="top">[[Pop (Arraylist function)|Pop]]</td><td valign="top">Retrieve last Arraylist item, then remove item</td></tr> | ||
<tr><td>[[Push (Arraylist function)|Push]]</td><td>Append item to Arraylist</td></tr> | <tr><td valign="top">[[Print (Arraylist subroutine)|Print]]</td><td valign="top">Print Arraylist</td></tr> | ||
<tr><td>[[RemoveItem (Arraylist function)|RemoveItem]]</td><td>Remove item from Arraylist</td></tr> | <tr><td valign="top">[[Push (Arraylist function)|Push]]</td><td valign="top">Append item to Arraylist</td></tr> | ||
<tr><td>[[Sort (Arraylist subroutine)|Sort]]</td><td>Sort the input Arraylist</td></tr> | <tr><td valign="top">[[RemoveItem (Arraylist function)|RemoveItem]]</td><td valign="top">Remove item from Arraylist</td></tr> | ||
<tr><td>[[SortNew (Arraylist function)|SortNew]]</td><td>Return new sorted Arraylist</td></tr> | <tr><td valign="top">[[Sort (Arraylist subroutine)|Sort]]</td><td valign="top">Sort the input Arraylist</td></tr> | ||
<tr><td>[[StandardDeviation (Arraylist function)|StandardDeviation]]</td><td>Compute the standard deviation of the items</td></tr> | <tr><td valign="top">[[SortNew (Arraylist function)|SortNew]]</td><td valign="top">Return new sorted Arraylist</td></tr> | ||
<tr><td>[[SubsetNew (Arraylist function)|SubsetNew]]</td><td>Return all matching Arraylist items</td></tr> | <tr><td valign="top">[[StandardDeviation (Arraylist function)|StandardDeviation]]</td><td valign="top">Compute the standard deviation of the items</td></tr> | ||
<tr><td>[[Sum (Arraylist function)|Sum]]</td><td>Compute the sum of the items</td></tr> | <tr><td valign="top">[[SubsetNew (Arraylist function)|SubsetNew]]</td><td valign="top">Return all matching Arraylist items</td></tr> | ||
<tr><td>[[Trace (Arraylist subroutine)|Trace]]</td><td>Trace Arraylist</td></tr> | <tr><td valign="top">[[Sum (Arraylist function)|Sum]]</td><td valign="top">Compute the sum of the items</td></tr> | ||
<tr><td>[[Variance (Arraylist function)|Variance]]</td><td>Compute the variance of the items</td></tr> | <tr><td valign="top">[[Trace (Arraylist subroutine)|Trace]]</td><td valign="top">Trace Arraylist</td></tr> | ||
<tr><td valign="top">[[Variance (Arraylist function)|Variance]]</td><td valign="top">Compute the variance of the items</td></tr> | |||
</table> | </table> | ||
</div> | |||
==See also== | |||
<table class="list"><tr> | |||
<td valign="top"><ul style="margin-top:0px;"> | |||
<li>[[Arraylist class]] | |||
<li>[[FloatNamedArraylist class]] | |||
<li>[[NamedArraylist class]] | |||
<li>[[UnicodeNamedArraylist class]] | |||
</ul></td> | |||
<td valign="top"><ul style="margin-top:0px;"> | |||
<li>[[List of FloatNamedArraylist methods]] | |||
<li>[[List of NamedArraylist methods]] | |||
<li>[[List of UnicodeNamedArraylist methods]] | |||
<li>[[List of Collection methods]] | |||
</ul></td> | |||
<td valign="top"><ul style="margin-top:0px;"> | |||
<li>[[Arraylist methods syntax]] | |||
<li>[[FloatNamedArraylist methods syntax]] | |||
<li>[[NamedArraylist methods syntax]] | |||
<li>[[UnicodeNamedArraylist methods syntax]] | |||
</ul></td> | |||
</tr> | |||
</table> | |||
[[Category:Lists of methods]] |
Latest revision as of 20:27, 1 November 2011
The following are the available Arraylist class methods.
Method | Description |
---|---|
Add | Add Arraylist items |
Audit | Audit Arraylist |
Average | Average the members of this ArrayList |
Copy | Copy the Arraylist |
Count | Number of items in Arraylist |
CountSubset | Number of items matching a criterion |
DeepCopy | Deep Copy the Arraylist |
Dequeue | Retrieve first Arraylist item, then remove item |
Enqueue | Add item to end of Arraylist |
FindNextItem | Find matching Arraylist item |
FindNextItemNumber | Return number of matching item |
FindPreviousItem | Find matching Arraylist item |
FindPreviousItemNumber | Return number of matching item |
FirstItem | Retrieve or set value of first Arraylist item |
Insert | Insert items into Arraylist |
Item | Return or set Arraylist item value |
LastItem | Retrieve or set value of last Arraylist item |
List | Construct and populate a new Arraylist |
Maximum | Get number of maximum item |
MaximumItem | Get item that has maximum value |
Minimum | Get number of minimum item |
MinimumItem | Get item that has minimum value |
New | Create a new Arraylist object |
Pop | Retrieve last Arraylist item, then remove item |
Print Arraylist | |
Push | Append item to Arraylist |
RemoveItem | Remove item from Arraylist |
Sort | Sort the input Arraylist |
SortNew | Return new sorted Arraylist |
StandardDeviation | Compute the standard deviation of the items |
SubsetNew | Return all matching Arraylist items |
Sum | Compute the sum of the items |
Trace | Trace Arraylist |
Variance | Compute the variance of the items |