List of Arraylist methods: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
m (Automatically generated page update)
 
(7 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. -->
The following are the available [[Arraylist class]] methods.
The following are the available <var>[[Arraylist class|Arraylist]]</var> class methods.
{{Template:Method list header|class=Arraylist}}
{{Template:Method list header|class=Arraylist}}
<div class="showVisit">
<div class="showVisit">
Line 20: Line 20:
<tr><td valign="top">[[FindPreviousItemNumber (Arraylist function)|FindPreviousItemNumber]]</td><td valign="top">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 valign="top">[[FirstItem (Arraylist property)|FirstItem]]</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">Retrieve or set value of first Arraylist item</td></tr>
<tr><td valign="top">[[Insert (Arraylist function)|Insert]]</td><td valign="top">Insert item into Arraylist</td></tr>
<tr><td valign="top">[[Insert (Arraylist function)|Insert]]</td><td valign="top">Insert items into Arraylist</td></tr>
<tr><td valign="top">[[Item (Arraylist property)|Item]]</td><td valign="top">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 valign="top">[[LastItem (Arraylist property)|LastItem]]</td><td valign="top">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>
Line 28: Line 28:
<tr><td valign="top">[[Minimum (Arraylist function)|Minimum]]</td><td valign="top">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 valign="top">[[MinimumItem (Arraylist function)|MinimumItem]]</td><td valign="top">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 valign="top">[[New (Arraylist constructor)|New]]</td><td valign="top">Create a new Arraylist object</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 valign="top">[[Pop (Arraylist function)|Pop]]</td><td valign="top">Retrieve last Arraylist item, then remove item</td></tr>
<tr><td valign="top">[[Print (Arraylist subroutine)|Print]]</td><td valign="top">Print Arraylist</td></tr>
<tr><td valign="top">[[Print (Arraylist subroutine)|Print]]</td><td valign="top">Print Arraylist</td></tr>
Line 63: Line 64:
</tr>
</tr>
</table>
</table>
[[Category:Lists of methods]]

Latest revision as of 20:27, 1 November 2011

The following are the available Arraylist class methods.

MethodDescription
AddAdd Arraylist items
AuditAudit Arraylist
AverageAverage the members of this ArrayList
CopyCopy the Arraylist
CountNumber of items in Arraylist
CountSubsetNumber of items matching a criterion
DeepCopyDeep Copy the Arraylist
DequeueRetrieve first Arraylist item, then remove item
EnqueueAdd item to end of Arraylist
FindNextItemFind matching Arraylist item
FindNextItemNumberReturn number of matching item
FindPreviousItemFind matching Arraylist item
FindPreviousItemNumberReturn number of matching item
FirstItemRetrieve or set value of first Arraylist item
InsertInsert items into Arraylist
ItemReturn or set Arraylist item value
LastItemRetrieve or set value of last Arraylist item
ListConstruct and populate a new Arraylist
MaximumGet number of maximum item
MaximumItemGet item that has maximum value
MinimumGet number of minimum item
MinimumItemGet item that has minimum value
NewCreate a new Arraylist object
PopRetrieve last Arraylist item, then remove item
PrintPrint Arraylist
PushAppend item to Arraylist
RemoveItemRemove item from Arraylist
SortSort the input Arraylist
SortNewReturn new sorted Arraylist
StandardDeviationCompute the standard deviation of the items
SubsetNewReturn all matching Arraylist items
SumCompute the sum of the items
TraceTrace Arraylist
VarianceCompute the variance of the items

See also