List of Arraylist methods: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 3: | Line 3: | ||
The following are the available [[Arraylist class]] methods. | The following are the available [[Arraylist class]] methods. | ||
{{Template:Method list header|class=Arraylist}} | {{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> | ||
Line 39: | Line 40: | ||
<tr><td valign="top">[[Variance (Arraylist function)|Variance]]</td><td valign="top">Compute the variance of the items</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== | ==See also== | ||
<table class="list"><tr> | <table class="list"><tr> |
Revision as of 14:44, 8 February 2011
The following are the available Arraylist class methods.
Method | Description |
---|---|
Add | Add an Arraylist item |
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 item 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 |
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 |