Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

FixedList128Bytes<T0>.CompareTo

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public int CompareTo(FixedList32Bytes<T> other);

Parameters

Parameter Description
other A list to to compare with.

Returns

int An integer denoting the respective sort position of the list relative to the other:

0 denotes that both lists should have the same position in a sort. -1 denotes that this list should precede the other list in a sort. +1 denotes that this list should follow the other list in a sort.

Description

Returns a number denoting whether this list should be placed before or after another list in a sort.


Declaration

public int CompareTo(FixedList64Bytes<T> other);

Parameters

Parameter Description
other A list to to compare with.

Returns

int An integer denoting the respective sort position of the list relative to the other:

0 denotes that both lists should have the same position in a sort. -1 denotes that this list should precede the other list in a sort. +1 denotes that this list should follow the other list in a sort.

Description

Returns a number denoting whether this list should be placed before or after another list in a sort.


Declaration

public int CompareTo(FixedList128Bytes<T> other);

Parameters

Parameter Description
other A list to to compare with.

Returns

int An integer denoting the respective sort position of the list relative to the other:

0 denotes that both lists should have the same position in a sort. -1 denotes that this list should precede the other list in a sort. +1 denotes that this list should follow the other list in a sort.

Description

Returns a number denoting whether this list should be placed before or after another list in a sort.


Declaration

public int CompareTo(FixedList512Bytes<T> other);

Parameters

Parameter Description
other A list to to compare with.

Returns

int An integer denoting the respective sort position of the list relative to the other:

0 denotes that both lists should have the same position in a sort. -1 denotes that this list should precede the other list in a sort. +1 denotes that this list should follow the other list in a sort.

Description

Returns a number denoting whether this list should be placed before or after another list in a sort.


Declaration

public int CompareTo(FixedList4096Bytes<T> other);

Parameters

Parameter Description
other A list to to compare with.

Returns

int An integer denoting the respective sort position of the list relative to the other:

0 denotes that both lists should have the same position in a sort. -1 denotes that this list should precede the other list in a sort. +1 denotes that this list should follow the other list in a sort.

Description

Returns a number denoting whether this list should be placed before or after another list in a sort.