Paket | com.adobe.fiber.runtime.lib |
Klass | public class CollectionFunc |
Arv | CollectionFunc Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Metod | Definieras med | ||
---|---|---|---|
[statisk]
Returns the average of a collection of numeric values. | CollectionFunc | ||
[statisk]
Returns the maximum value in a collection of numbers. | CollectionFunc | ||
[statisk]
Returns the minimum value in a collection of numbers. | CollectionFunc | ||
[statisk]
Returns the total of all numbers in a collection. | CollectionFunc | ||
[statisk]
Checks if a collection contains a given item. | CollectionFunc | ||
[statisk]
Returns the number of elements (the size) of a collection. | CollectionFunc | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
[statisk]
Checks if a collection is empty. | CollectionFunc | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
[statisk]
Given a value and a sorted list of values, returns number of list items less than the value. | CollectionFunc | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
[statisk]
Returns the size of a collection. | CollectionFunc | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
collectionAvg | () | metod |
public static function collectionAvg(c:ArrayCollection):Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
c:ArrayCollection — Collection
|
Number — The average
|
collectionMax | () | metod |
public static function collectionMax(c:ArrayCollection):Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
c:ArrayCollection — Collection containing Number values
|
Number — Largest value in the collection
|
collectionMin | () | metod |
public static function collectionMin(c:ArrayCollection):Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
c:ArrayCollection — Collection containing Number values
|
Number — Smallest value in the collection
|
collectionSum | () | metod |
public static function collectionSum(c:ArrayCollection):Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
c:ArrayCollection — Collection
|
Number — Sum of the collection
|
contains | () | metod |
public static function contains(c:ArrayCollection, item:Object):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Körningsmiljöversioner: | 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.
Parametrar
c:ArrayCollection — Collection
| |
item:Object — Object to test
|
Boolean — true if item is contained in collection c
|
count | () | metod |
public static function count(collection:ArrayCollection):int
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the number of elements (the size) of a collection. Equivalent to sizeof.
Parametrar
collection:ArrayCollection — The collection
|
int — Size of collection
|
isEmpty | () | metod |
public static function isEmpty(collection:ArrayCollection):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Checks if a collection is empty. If collection does not exist, it is empty.
Parametrar
collection:ArrayCollection — Collection
|
Boolean — true if collection is empty
|
part | () | metod |
public static function part(value:Object, list:ArrayCollection):int
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | 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.
Parametrar
value:Object — Value to search for
| |
list:ArrayCollection — Sorted collection
|
int — Number of entries in the list with values less than value
|
sizeof | () | metod |
public static function sizeof(collection:ArrayCollection):int
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the size of a collection. Equivalent to count.
Parametrar
collection:ArrayCollection — The collection
|
int — Size of collection
|
Tue Jun 12 2018, 01:40 PM Z