Method Equals
Equals(FixedList32Bytes<T>)
Returns true if this list and another list are equal.
Declaration
public bool Equals(FixedList32Bytes<T> other)
Parameters
Type | Name | Description |
---|---|---|
FixedList32Bytes<T> | other | The list to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the two lists are equal. |
Remarks
Two lists are equal if their length and bytes are equal.
Equals(FixedList64Bytes<T>)
Returns true if this list and another list are equal.
Declaration
public bool Equals(FixedList64Bytes<T> other)
Parameters
Type | Name | Description |
---|---|---|
FixedList64Bytes<T> | other | The list to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the two lists are equal. |
Remarks
Two lists are equal if their length and bytes are equal.
Equals(FixedList128Bytes<T>)
Returns true if this list and another list are equal.
Declaration
public bool Equals(FixedList128Bytes<T> other)
Parameters
Type | Name | Description |
---|---|---|
FixedList128Bytes<T> | other | The list to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the two lists are equal. |
Remarks
Two lists are equal if their length and bytes are equal.
Equals(FixedList512Bytes<T>)
Returns true if this list and another list are equal.
Declaration
public bool Equals(FixedList512Bytes<T> other)
Parameters
Type | Name | Description |
---|---|---|
FixedList512Bytes<T> | other | The list to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the two lists are equal. |
Remarks
Two lists are equal if their length and bytes are equal.
Equals(FixedList4096Bytes<T>)
Returns true if this list and another list are equal.
Declaration
public bool Equals(FixedList4096Bytes<T> other)
Parameters
Type | Name | Description |
---|---|---|
FixedList4096Bytes<T> | other | The list to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the two lists are equal. |
Remarks
Two lists are equal if their length and bytes are equal.
Equals(object)
Returns true if the list is equal to an object.
Declaration
[ExcludeFromBurstCompatTesting("Takes managed object")]
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | An object to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the list is equal to the object. |
Overrides
Remarks
Two lists are equal if their length and bytes are equal.
A FixedList*N*<T> can only be equal to another FixedList*N*<T> with the same *N* and T.