StringVector
Static Methods
==(::)
Compares two StringVector
instances for equality.
This function compares the contents of two StringVector
instances by calling the privmx.compareVectors
function.
public static func == (lhs: privmx.StringVector, rhs: privmx.StringVector) -> Bool
Name | Type | Description |
---|---|---|
lhs | privmx.StringVector | The left-hand side `StringVector` instance. |
rhs | privmx.StringVector | The right-hand side `StringVector` instance. |
Type | Description |
---|---|
Bool | `true` if both vectors are equal, otherwise `false`. |
Methods
hash(into:)
Generates a hash value for the StringVector
.
This function generates the hash based on the count
of the vector.
public func hash(into hasher: inout Hasher)
Name | Type | Description |
---|---|---|
hasher | inout Hasher | The `Hasher` instance used to compute the hash value. |