Pacchetto | com.adobe.fiber.runtime.lib |
Classe | public class CollectionFunc |
Ereditarietà | CollectionFunc Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Metodo | Definito da | ||
---|---|---|---|
[statico]
Returns the average of a collection of numeric values. | CollectionFunc | ||
[statico]
Returns the maximum value in a collection of numbers. | CollectionFunc | ||
[statico]
Returns the minimum value in a collection of numbers. | CollectionFunc | ||
[statico]
Returns the total of all numbers in a collection. | CollectionFunc | ||
[statico]
Checks if a collection contains a given item. | CollectionFunc | ||
[statico]
Returns the number of elements (the size) of a collection. | CollectionFunc | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
[statico]
Checks if a collection is empty. | CollectionFunc | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
[statico]
Given a value and a sorted list of values, returns number of list items less than the value. | CollectionFunc | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
[statico]
Returns the size of a collection. | CollectionFunc | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
collectionAvg | () | metodo |
public static function collectionAvg(c:ArrayCollection):Number
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni 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.
Parametri
c:ArrayCollection — Collection
|
Number — The average
|
collectionMax | () | metodo |
public static function collectionMax(c:ArrayCollection):Number
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni 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.
Parametri
c:ArrayCollection — Collection containing Number values
|
Number — Largest value in the collection
|
collectionMin | () | metodo |
public static function collectionMin(c:ArrayCollection):Number
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni 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.
Parametri
c:ArrayCollection — Collection containing Number values
|
Number — Smallest value in the collection
|
collectionSum | () | metodo |
public static function collectionSum(c:ArrayCollection):Number
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni 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.
Parametri
c:ArrayCollection — Collection
|
Number — Sum of the collection
|
contains | () | metodo |
public static function contains(c:ArrayCollection, item:Object):Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.5 |
Versioni 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.
Parametri
c:ArrayCollection — Collection
| |
item:Object — Object to test
|
Boolean — true if item is contained in collection c
|
count | () | metodo |
public static function count(collection:ArrayCollection):int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.5 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns the number of elements (the size) of a collection. Equivalent to sizeof.
Parametri
collection:ArrayCollection — The collection
|
int — Size of collection
|
isEmpty | () | metodo |
public static function isEmpty(collection:ArrayCollection):Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Checks if a collection is empty. If collection does not exist, it is empty.
Parametri
collection:ArrayCollection — Collection
|
Boolean — true if collection is empty
|
part | () | metodo |
public static function part(value:Object, list:ArrayCollection):int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni 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.
Parametri
value:Object — Value to search for
| |
list:ArrayCollection — Sorted collection
|
int — Number of entries in the list with values less than value
|
sizeof | () | metodo |
public static function sizeof(collection:ArrayCollection):int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns the size of a collection. Equivalent to count.
Parametri
collection:ArrayCollection — The collection
|
int — Size of collection
|
Tue Jun 12 2018, 02:44 PM Z