Table of Contents

Interface INonEnumerableSet<T>

Namespace
Xui.Core.Set
Assembly
Core.dll

Represents a mathematical set as defined by its membership test: whether an element belongs to the set.

public interface INonEnumerableSet<T>

Type Parameters

T

The type of elements being tested for membership.

Remarks

This interface does not imply enumeration, mutation, or collection semantics. It aligns with the pure set-theoretic notion where a set is characterized solely by the ability to determine if a value is a member of the set (i.e., x ∈ S).

Methods

Contains(T)

Determines whether the specified element is a member of this set.

bool Contains(T obj)

Parameters

obj T

The element to test for membership.

Returns

bool

true if the element belongs to the set; otherwise, false.