Skip to content

Commit b0e451c

Browse files
committed
Merge pull request #986 from SlavaRa/feature/Flash_Vector.insertAt_Vector.removeAt
[Flash] Add support of new API Vector.<T>
2 parents ec698d9 + 0b60bef commit b0e451c

File tree

1 file changed

+6
-0
lines changed
  • FlashDevelop/Bin/Debug/Library/AS3/intrinsic/FP11

1 file changed

+6
-0
lines changed

FlashDevelop/Bin/Debug/Library/AS3/intrinsic/FP11/Vector.as

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ package
2727
/// [FP10] Searches for an item in the Vector and returns the index position of the item.
2828
public function indexOf (searchElement:T, fromIndex:int = 0) : int;
2929

30+
/// [FP19] Insert a single element into the Vector.
31+
public function insertAt (index:int, element:T) : void;
32+
3033
/// [FP10] Converts the elements in the Vector to strings.
3134
public function join (sep:String = ",") : String;
3235

@@ -42,6 +45,9 @@ package
4245
/// [FP10] Adds one or more elements to the end of the Vector and returns the new length of the Vector.
4346
public function push (...args) : uint;
4447

48+
/// [FP19] Remove a single element from the Vector.
49+
public function removeAt (index:int) : T;
50+
4551
/// [FP10] Reverses the order of the elements in the Vector.
4652
public function reverse () : Vector.<T>;
4753

0 commit comments

Comments
 (0)