Upraviť

Zdieľať cez


BitVector32.GetHashCode Method

Definition

Serves as a hash function for the BitVector32.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

A hash code for the BitVector32.

Remarks

The hash code of a BitVector32 is based on the value of Data. Two instances of BitVector32 with the same value for Data will also generate the same hash code.

This method is an O(1) operation.

Applies to