// Generated API outline. Implementation bodies omitted. #nullable enable using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Threading; using System; using nfloat = System.Runtime.InteropServices.NFloat; using static Xui.Core.Math2D.Constants; namespace Xui.Core.Set { /// /// Represents an empty set — a set that contains no elements. /// /// The type of elements the set could (but does not) contain. /// /// This type always returns false from . It is a useful identity for /// set composition and for scenarios like default hit test areas or disabled regions. /// public sealed class EmptySet : INonEnumerableSet { /// /// A shared singleton instance of the empty set. /// public static readonly EmptySet Instance; /// /// Always returns false, since no element belongs to the empty set. /// /// The object to test. /// /// false for all inputs. public bool Contains(T obj); } /// /// Represents a mathematical set as defined by its membership test: /// whether an element belongs to the set. /// /// The type of elements being tested for membership. /// /// 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). /// public interface INonEnumerableSet { /// /// Determines whether the specified element is a member of this set. /// /// The element to test for membership. /// /// true if the element belongs to the set; otherwise, false. public bool Contains(T obj); } }