W3cubDocs

/Haxe C++

NativeVirtualArray

package cpp

import cpp.VirtualArray

Available on cpp

Constructor

new()

Variables

read onlywrite onlylength:Int

Methods

concat(a:VirtualArray):VirtualArray

copy():VirtualArray

filter(f:Dynamic ‑> Bool):VirtualArray

indexOf(x:Dynamic, ?fromIndex:Int):Int

insert(pos:Int, x:Dynamic):Void

iterator():Iterator<Dynamic>

join(sep:String):String

keyValueIterator():KeyValueIterator<Int, Dynamic>

lastIndexOf(x:Dynamic, ?fromIndex:Int):Int

map<S>(f:Dynamic ‑> S):VirtualArray

pop():Dynamic

push(x:Dynamic):Int

remove(x:Dynamic):Bool

resize(len:Int):Void

reverse():Void

shift():Dynamic

slice(pos:Int, ?end:Int):VirtualArray

sort(f:(Dynamic, Dynamic) ‑> Int):Void

splice(pos:Int, len:Int):VirtualArray

toString():String

unshift(x:Dynamic):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/NativeVirtualArray.html