패키지 | com.adobe.fiber.runtime.lib |
클래스 | public class CollectionFunc |
상속 | CollectionFunc Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
메서드 | 정의 주체 | ||
---|---|---|---|
[정적]
Returns the average of a collection of numeric values. | CollectionFunc | ||
[정적]
Returns the maximum value in a collection of numbers. | CollectionFunc | ||
[정적]
Returns the minimum value in a collection of numbers. | CollectionFunc | ||
[정적]
Returns the total of all numbers in a collection. | CollectionFunc | ||
[정적]
Checks if a collection contains a given item. | CollectionFunc | ||
[정적]
Returns the number of elements (the size) of a collection. | CollectionFunc | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
[정적]
Checks if a collection is empty. | CollectionFunc | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
[정적]
Given a value and a sorted list of values, returns number of list items less than the value. | CollectionFunc | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
[정적]
Returns the size of a collection. | CollectionFunc | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
collectionAvg | () | 메서드 |
public static function collectionAvg(c:ArrayCollection):Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
매개 변수
c:ArrayCollection — Collection
|
Number — The average
|
collectionMax | () | 메서드 |
public static function collectionMax(c:ArrayCollection):Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
매개 변수
c:ArrayCollection — Collection containing Number values
|
Number — Largest value in the collection
|
collectionMin | () | 메서드 |
public static function collectionMin(c:ArrayCollection):Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
매개 변수
c:ArrayCollection — Collection containing Number values
|
Number — Smallest value in the collection
|
collectionSum | () | 메서드 |
public static function collectionSum(c:ArrayCollection):Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
매개 변수
c:ArrayCollection — Collection
|
Number — Sum of the collection
|
contains | () | 메서드 |
public static function contains(c:ArrayCollection, item:Object):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
런타임 버전: | 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.
매개 변수
c:ArrayCollection — Collection
| |
item:Object — Object to test
|
Boolean — true if item is contained in collection c
|
count | () | 메서드 |
public static function count(collection:ArrayCollection):int
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.5 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns the number of elements (the size) of a collection. Equivalent to sizeof.
매개 변수
collection:ArrayCollection — The collection
|
int — Size of collection
|
isEmpty | () | 메서드 |
public static function isEmpty(collection:ArrayCollection):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Checks if a collection is empty. If collection does not exist, it is empty.
매개 변수
collection:ArrayCollection — Collection
|
Boolean — true if collection is empty
|
part | () | 메서드 |
public static function part(value:Object, list:ArrayCollection):int
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | 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.
매개 변수
value:Object — Value to search for
| |
list:ArrayCollection — Sorted collection
|
int — Number of entries in the list with values less than value
|
sizeof | () | 메서드 |
public static function sizeof(collection:ArrayCollection):int
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns the size of a collection. Equivalent to count.
매개 변수
collection:ArrayCollection — The collection
|
int — Size of collection
|
Tue Jun 12 2018, 03:17 PM Z