Pacote | com.adobe.fiber.runtime.lib |
Classe | public class CollectionFunc |
Herança | CollectionFunc Object |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | Flash Player 9, AIR 1.1 |
Método | Definido por | ||
---|---|---|---|
[estático]
Returns the average of a collection of numeric values. | CollectionFunc | ||
[estático]
Returns the maximum value in a collection of numbers. | CollectionFunc | ||
[estático]
Returns the minimum value in a collection of numbers. | CollectionFunc | ||
[estático]
Returns the total of all numbers in a collection. | CollectionFunc | ||
[estático]
Checks if a collection contains a given item. | CollectionFunc | ||
[estático]
Returns the number of elements (the size) of a collection. | CollectionFunc | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
[estático]
Checks if a collection is empty. | CollectionFunc | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
[estático]
Given a value and a sorted list of values, returns number of list items less than the value. | CollectionFunc | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
[estático]
Returns the size of a collection. | CollectionFunc | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna a representação de string do objeto especificado. | Object | ||
Retorna o valor primitivo do objeto especificado. | Object |
collectionAvg | () | método |
public static function collectionAvg(c:ArrayCollection):Number
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | 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
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Versões de runtime: | 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
|
Wed Jun 13 2018, 11:10 AM Z