Class Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
Represents a 16-tuple value.
Inheritance
Implements
Namespace: System
Assembly: Nuqleon.Memory.dll
Syntax
public sealed class Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> : ValueType, ITuplet, IEquatable<Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>, IComparable, IComparable<Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>>, IStructuralEquatable, IStructuralComparable
Type Parameters
Name | Description |
---|---|
T1 | Type of the tuple's first component. |
T2 | Type of the tuple's second component. |
T3 | Type of the tuple's third component. |
T4 | Type of the tuple's fourth component. |
T5 | Type of the tuple's fifth component. |
T6 | Type of the tuple's sixth component. |
T7 | Type of the tuple's seventh component. |
T8 | Type of the tuple's eighth component. |
T9 | Type of the tuple's ninth component. |
T10 | Type of the tuple's tenth component. |
T11 | Type of the tuple's eleventh component. |
T12 | Type of the tuple's twelfth component. |
T13 | Type of the tuple's thirteenth component. |
T14 | Type of the tuple's fourteenth component. |
T15 | Type of the tuple's fifteenth component. |
T16 | Type of the tuple's sixteenth component. |
Constructors
Tuplet(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
Creates a value representing a 16-tuple.
Declaration
public Tuplet(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, T8 item8, T9 item9, T10 item10, T11 item11, T12 item12, T13 item13, T14 item14, T15 item15, T16 item16)
Parameters
Type | Name | Description |
---|---|---|
T1 | item1 | Value of the tuple's first component. |
T2 | item2 | Value of the tuple's second component. |
T3 | item3 | Value of the tuple's third component. |
T4 | item4 | Value of the tuple's fourth component. |
T5 | item5 | Value of the tuple's fifth component. |
T6 | item6 | Value of the tuple's sixth component. |
T7 | item7 | Value of the tuple's seventh component. |
T8 | item8 | Value of the tuple's eighth component. |
T9 | item9 | Value of the tuple's ninth component. |
T10 | item10 | Value of the tuple's tenth component. |
T11 | item11 | Value of the tuple's eleventh component. |
T12 | item12 | Value of the tuple's twelfth component. |
T13 | item13 | Value of the tuple's thirteenth component. |
T14 | item14 | Value of the tuple's fourteenth component. |
T15 | item15 | Value of the tuple's fifteenth component. |
T16 | item16 | Value of the tuple's sixteenth component. |
Properties
Item1
Gets the value of the tuple's first component.
Declaration
public T1 Item1 { get; }
Property Value
Type | Description |
---|---|
T1 |
Item10
Gets the value of the tuple's tenth component.
Declaration
public T10 Item10 { get; }
Property Value
Type | Description |
---|---|
T10 |
Item11
Gets the value of the tuple's eleventh component.
Declaration
public T11 Item11 { get; }
Property Value
Type | Description |
---|---|
T11 |
Item12
Gets the value of the tuple's twelfth component.
Declaration
public T12 Item12 { get; }
Property Value
Type | Description |
---|---|
T12 |
Item13
Gets the value of the tuple's thirteenth component.
Declaration
public T13 Item13 { get; }
Property Value
Type | Description |
---|---|
T13 |
Item14
Gets the value of the tuple's fourteenth component.
Declaration
public T14 Item14 { get; }
Property Value
Type | Description |
---|---|
T14 |
Item15
Gets the value of the tuple's fifteenth component.
Declaration
public T15 Item15 { get; }
Property Value
Type | Description |
---|---|
T15 |
Item16
Gets the value of the tuple's sixteenth component.
Declaration
public T16 Item16 { get; }
Property Value
Type | Description |
---|---|
T16 |
Item2
Gets the value of the tuple's second component.
Declaration
public T2 Item2 { get; }
Property Value
Type | Description |
---|---|
T2 |
Item3
Gets the value of the tuple's third component.
Declaration
public T3 Item3 { get; }
Property Value
Type | Description |
---|---|
T3 |
Item4
Gets the value of the tuple's fourth component.
Declaration
public T4 Item4 { get; }
Property Value
Type | Description |
---|---|
T4 |
Item5
Gets the value of the tuple's fifth component.
Declaration
public T5 Item5 { get; }
Property Value
Type | Description |
---|---|
T5 |
Item6
Gets the value of the tuple's sixth component.
Declaration
public T6 Item6 { get; }
Property Value
Type | Description |
---|---|
T6 |
Item7
Gets the value of the tuple's seventh component.
Declaration
public T7 Item7 { get; }
Property Value
Type | Description |
---|---|
T7 |
Item8
Gets the value of the tuple's eighth component.
Declaration
public T8 Item8 { get; }
Property Value
Type | Description |
---|---|
T8 |
Item9
Gets the value of the tuple's ninth component.
Declaration
public T9 Item9 { get; }
Property Value
Type | Description |
---|---|
T9 |
Methods
CompareTo(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Compares the current value with another value and returns an integer that indicates whether the current value precedes, follows, or occurs in the same position in the sort order as the other value.
Declaration
public int CompareTo(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> other)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | other | A value to compare with this value. |
Returns
Type | Description |
---|---|
System.Int32 | A value that indicates the relative order of the values being compared. |
Equals(Object)
Checks whether the current value is equal to the specified object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare the current value against. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current value is equal to the specified object; otherwise, false. |
Equals(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Checks whether the current value is equal to the specified value.
Declaration
public bool Equals(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> other)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | other | The value to compare the current value against. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current value is equal to the specified value; otherwise, false. |
GetHashCode()
Gets a hash code for the current value.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current value. |
ToString()
Gets a string representation of the current value.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation for the current value. |
Operators
Equality(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Checks whether the specified values are equal.
Declaration
public static bool operator ==(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> first, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> second)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | first | The first value to compare. |
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | second | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the values are equal; otherwise, false. |
GreaterThan(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Checks whether the first
value is larger than the second
value.
Declaration
public static bool operator>(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> first, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> second)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | first | The first value to compare. |
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | second | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first value is larger than the second value; otherwise, false. |
GreaterThanOrEqual(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Checks whether the first
value is larger than or equal to the second
value.
Declaration
public static bool operator >=(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> first, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> second)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | first | The first value to compare. |
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | second | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first value is larger than or equal to the second value; otherwise, false. |
Inequality(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Checks whether the specified values are not equal.
Declaration
public static bool operator !=(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> first, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> second)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | first | The first value to compare. |
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | second | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the values are not equal; otherwise, false. |
LessThan(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Checks whether the first
value is less than the second
value.
Declaration
public static bool operator <(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> first, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> second)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | first | The first value to compare. |
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | second | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first value is less than the second value; otherwise, false. |
LessThanOrEqual(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
Checks whether the first
value is less than or equal to the second
value.
Declaration
public static bool operator <=(Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> first, Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> second)
Parameters
Type | Name | Description |
---|---|---|
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | first | The first value to compare. |
Tuplet<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> | second | The second value to compare. |
Returns
Type | Description |
---|---|
System.Boolean | true if the first value is less than or equal to the second value; otherwise, false. |