Class AddressSet
Assembly: Libplanet.Types.dll
Syntax
public class AddressSet : IImmutableSet<Address>, IReadOnlyCollection<Address>, IEnumerable<Address>, IEnumerable, IEquatable<AddressSet>
Constructors
|
Improve this Doc
View Source
AddressSet(IEnumerable<Address>)
Declaration
public AddressSet(IEnumerable<Address> addresses)
Parameters
Type |
Name |
Description |
IEnumerable<Address> |
addresses |
Addresses to include in the set. Duplicated
Addresses are ignored, and only the first occurrence is included.
The order of addresses is preserved.
|
Fields
|
Improve this Doc
View Source
Empty
Declaration
public static readonly AddressSet Empty
Field Value
Properties
|
Improve this Doc
View Source
Count
Declaration
[Pure]
public int Count { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(Address)
Declaration
[Pure]
public IImmutableSet<Address> Add(Address value)
Parameters
Type |
Name |
Description |
Address |
value |
|
Returns
|
Improve this Doc
View Source
Clear()
Declaration
[Pure]
public IImmutableSet<Address> Clear()
Returns
|
Improve this Doc
View Source
Contains(Address)
Declaration
[Pure]
public bool Contains(Address value)
Parameters
Type |
Name |
Description |
Address |
value |
|
Returns
|
Improve this Doc
View Source
Equals(AddressSet)
Declaration
[Pure]
public bool Equals(AddressSet other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
[Pure]
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Except(IEnumerable<Address>)
Declaration
[Pure]
public IImmutableSet<Address> Except(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
GetEnumerator()
Declaration
[Pure]
public IEnumerator<Address> GetEnumerator()
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
[Pure]
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
Intersect(IEnumerable<Address>)
Declaration
[Pure]
public IImmutableSet<Address> Intersect(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
IsProperSubsetOf(IEnumerable<Address>)
Declaration
[Pure]
public bool IsProperSubsetOf(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
IsProperSupersetOf(IEnumerable<Address>)
Declaration
[Pure]
public bool IsProperSupersetOf(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
IsSubsetOf(IEnumerable<Address>)
Declaration
[Pure]
public bool IsSubsetOf(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
IsSupersetOf(IEnumerable<Address>)
Declaration
[Pure]
public bool IsSupersetOf(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
Overlaps(IEnumerable<Address>)
Declaration
[Pure]
public bool Overlaps(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
Remove(Address)
Declaration
[Pure]
public IImmutableSet<Address> Remove(Address value)
Parameters
Type |
Name |
Description |
Address |
value |
|
Returns
|
Improve this Doc
View Source
SetEquals(IEnumerable<Address>)
Declaration
[Pure]
public bool SetEquals(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
SymmetricExcept(IEnumerable<Address>)
Declaration
[Pure]
public IImmutableSet<Address> SymmetricExcept(IEnumerable<Address> other)
Parameters
Returns
|
Improve this Doc
View Source
TryGetValue(Address, out Address)
Declaration
[Pure]
public bool TryGetValue(Address equalValue, out Address actualValue)
Parameters
Returns
|
Improve this Doc
View Source
Union(IEnumerable<Address>)
Declaration
[Pure]
public IImmutableSet<Address> Union(IEnumerable<Address> other)
Parameters
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
[Pure]
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements