Vector.hx 293 B

1234567891011121314
  1. @:multiType(T)
  2. abstract Vector<T>(Array<T>) {
  3. function new();
  4. public inline static function ofArray<T>(a:Array<T>):Vector<T> {
  5. return new Vector<T>();
  6. }
  7. @:to static function toIntVector(t:Array<Int>)
  8. return null;
  9. @:to static function toObjectVector<T>(t:Array<T>)
  10. return null;
  11. }