View source

abstract thx.Tuple6<T0, T1, T2, T3, T4, T5>({_5:T5, _4:T4, _3:T3, _2:T2, _1:T1, _0:T0}) from {_5:T5, _4:T4, _3:T3, _2:T2, _1:T1, _0:T0} to {_5:T5, _4:T4, _3:T3, _2:T2, _1:T1, _0:T0}

import thx.Tuple;

Available on all platforms

Tuple6 is a tuple with size values. It maps to an anonymous object with fields _0, _1, _2, _4, _5, and _6.

Class Fields

inline function arrayToTuple6<T>(v:Array<T>):Tuple6<T, T, T, T, T, T>

inline function of<T0, T1, T2, T3, T4, T5>(_0:T0, _1:T1, _2:T2, _3:T3, _4:T4, _5:T5):Tuple6<T0, T1, T2, T3, T4, T5>

Static constructor, required to work around Haxe compiler bug.

Instance Fields

inline function new(_0:T0, _1:T1, _2:T2, _3:T3, _4:T4, _5:T5):Tuple6<T0, T1, T2, T3, T4, T5>

Constructs an instance of Tuple6 the 6 required value.

inline function dropLeft():Tuple5<T1, T2, T3, T4, T5>

dropLeft returns a new Tuple with one less element by dropping the first on the left.

inline function dropRight():Tuple5<T0, T1, T2, T3, T4>

dropLeft returns a new Tuple with one less element by dropping the last on the right.

inline function flip():Tuple6<T5, T4, T3, T2, T1, T0>

flip returns a new Tuple with the values in reverse order.

inline function toString():String

Provides a string representation of the Tuple