Pakket | com.adobe.fiber.runtime.lib |
Klasse | public class CollectionFunc |
Overerving | CollectionFunc Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Methode | Gedefinieerd door | ||
---|---|---|---|
[statisch]
Returns the average of a collection of numeric values. | CollectionFunc | ||
[statisch]
Returns the maximum value in a collection of numbers. | CollectionFunc | ||
[statisch]
Returns the minimum value in a collection of numbers. | CollectionFunc | ||
[statisch]
Returns the total of all numbers in a collection. | CollectionFunc | ||
[statisch]
Checks if a collection contains a given item. | CollectionFunc | ||
[statisch]
Returns the number of elements (the size) of a collection. | CollectionFunc | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
[statisch]
Checks if a collection is empty. | CollectionFunc | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
[statisch]
Given a value and a sorted list of values, returns number of list items less than the value. | CollectionFunc | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
[statisch]
Returns the size of a collection. | CollectionFunc | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
collectionAvg | () | methode |
public static function collectionAvg(c:ArrayCollection):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the average of a collection of numeric values. If size of the collection is 0 or the collection is null, 0 is returned.
Parameters
c:ArrayCollection — Collection
|
Number — The average
|
collectionMax | () | methode |
public static function collectionMax(c:ArrayCollection):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the maximum value in a collection of numbers. If size of the collection is 0 or the collection is null, 0 is returned.
Parameters
c:ArrayCollection — Collection containing Number values
|
Number — Largest value in the collection
|
collectionMin | () | methode |
public static function collectionMin(c:ArrayCollection):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the minimum value in a collection of numbers. If size of the collection is 0 or the collection is null, 0 is returned.
Parameters
c:ArrayCollection — Collection containing Number values
|
Number — Smallest value in the collection
|
collectionSum | () | methode |
public static function collectionSum(c:ArrayCollection):Number
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the total of all numbers in a collection. If size of the collection is 0 or the collection is null, 0 is returned.
Parameters
c:ArrayCollection — Collection
|
Number — Sum of the collection
|
contains | () | methode |
public static function contains(c:ArrayCollection, item:Object):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Checks if a collection contains a given item. If the collection is empty, it doesn't contain the item. If the item is null or undefined it can still be contained in the collection.
Parameters
c:ArrayCollection — Collection
| |
item:Object — Object to test
|
Boolean — true if item is contained in collection c
|
count | () | methode |
public static function count(collection:ArrayCollection):int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the number of elements (the size) of a collection. Equivalent to sizeof.
Parameters
collection:ArrayCollection — The collection
|
int — Size of collection
|
isEmpty | () | methode |
public static function isEmpty(collection:ArrayCollection):Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Checks if a collection is empty. If collection does not exist, it is empty.
Parameters
collection:ArrayCollection — Collection
|
Boolean — true if collection is empty
|
part | () | methode |
public static function part(value:Object, list:ArrayCollection):int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Given a value and a sorted list of values, returns number of list items less than the value. (If not sorted, returns the length of the list prefix made up of items less than value.)
For Example, given a collection C, containing [10, 20, 30], the call part(20, C) returns 1 as there is a single value (10) in the collection less than 20.
Parameters
value:Object — Value to search for
| |
list:ArrayCollection — Sorted collection
|
int — Number of entries in the list with values less than value
|
sizeof | () | methode |
public static function sizeof(collection:ArrayCollection):int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Returns the size of a collection. Equivalent to count.
Parameters
collection:ArrayCollection — The collection
|
int — Size of collection
|
Wed Jun 13 2018, 11:42 AM Z