Paquete | com.adobe.fiber.runtime.lib |
Clase | public class CollectionFunc |
Herencia | CollectionFunc Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Método | Definido por | ||
---|---|---|---|
[estática]
Returns the average of a collection of numeric values. | CollectionFunc | ||
[estática]
Returns the maximum value in a collection of numbers. | CollectionFunc | ||
[estática]
Returns the minimum value in a collection of numbers. | CollectionFunc | ||
[estática]
Returns the total of all numbers in a collection. | CollectionFunc | ||
[estática]
Checks if a collection contains a given item. | CollectionFunc | ||
[estática]
Returns the number of elements (the size) of a collection. | CollectionFunc | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
[estática]
Checks if a collection is empty. | CollectionFunc | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
[estática]
Given a value and a sorted list of values, returns number of list items less than the value. | CollectionFunc | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
[estática]
Returns the size of a collection. | CollectionFunc | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object |
collectionAvg | () | método |
public static function collectionAvg(c:ArrayCollection):Number
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
c:ArrayCollection — Collection
|
Number — The average
|
collectionMax | () | método |
public static function collectionMax(c:ArrayCollection):Number
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
c:ArrayCollection — Collection containing Number values
|
Number — Largest value in the collection
|
collectionMin | () | método |
public static function collectionMin(c:ArrayCollection):Number
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
c:ArrayCollection — Collection containing Number values
|
Number — Smallest value in the collection
|
collectionSum | () | método |
public static function collectionSum(c:ArrayCollection):Number
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
c:ArrayCollection — Collection
|
Number — Sum of the collection
|
contains | () | método |
public static function contains(c:ArrayCollection, item:Object):Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Versiones de motor de ejecución: | 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.
Parámetros
c:ArrayCollection — Collection
| |
item:Object — Object to test
|
Boolean — true if item is contained in collection c
|
count | () | método |
public static function count(collection:ArrayCollection):int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the number of elements (the size) of a collection. Equivalent to sizeof.
Parámetros
collection:ArrayCollection — The collection
|
int — Size of collection
|
isEmpty | () | método |
public static function isEmpty(collection:ArrayCollection):Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Checks if a collection is empty. If collection does not exist, it is empty.
Parámetros
collection:ArrayCollection — Collection
|
Boolean — true if collection is empty
|
part | () | método |
public static function part(value:Object, list:ArrayCollection):int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | 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.
Parámetros
value:Object — Value to search for
| |
list:ArrayCollection — Sorted collection
|
int — Number of entries in the list with values less than value
|
sizeof | () | método |
public static function sizeof(collection:ArrayCollection):int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Returns the size of a collection. Equivalent to count.
Parámetros
collection:ArrayCollection — The collection
|
int — Size of collection
|
Tue Jun 12 2018, 02:12 PM Z