• Manual
  • Scripting API
  • Changelog
  • License
🏷️ Namespaces
  • Zigurous.DataStructures
🧱 Classes
  • ArrayExtensions
  • ComparableExtensions
  • DictionaryExtensions
  • DoubleAccumulator
  • FixedUpdateStrategy
  • FloatAccumulator
  • HashCode
  • HashSetExtensions
  • Identifier
  • IntAccumulator
  • LateUpdateStrategy
  • ListExtensions
  • Modules<T>
  • NormalUpdateStrategy
  • ObjectPool<T>
  • QuaternionAccumulator
  • SingletonBehavior<T>
  • SortedSetExtensions
  • StringExtensions
  • UpdateBehavior
  • UpdateStrategy
  • ValueAccumulator<T>
  • Vector2Accumulator
  • Vector2IntAccumulator
  • Vector3Accumulator
  • Vector3IntAccumulator
  • Vector4Accumulator
🗂️ Structs
  • Bitmask
  • Bool3
  • ClampedRange
  • ColorRange
  • EulerRange
  • FloatRange
  • GridSize
  • IntRange
  • Quantity<T>
  • Range<T>
  • Size
  • UIntRange
  • UnitIntervalRange
  • Vector2Range
  • Vector3Range
  • Vector4Range
🎚️ Interfaces
  • IModular<T>
  • INumberRange<T>
  • IObjectPool<T>
  • IRange<T>
📋 Enums
  • UpdateMode
🗣️ Delegates
  • ArrayExtensions.Reducer<TSum, TElement>
  • ListExtensions.Reducer<TSum, TItem>
  • ObjectPool<T>.Generator
  • UpdateStrategy.UpdateAction

HashSetExtensions

Static Class in Zigurous.DataStructures


Declaration

public static class HashSetExtensions

Description

Extension methods for hash sets.

Extension Methods

First<T>Returns the first element in the set that satisifies a predicate.
ForEach<T>Invokes an action on each element in the set. The element is passed as a parameter.
IsAny<T>Checks if any element in the set satisfies a predicate.
IsEach<T>Checks if each element in the set satisfies a predicate.