Skip to main content
Namespace: Phoenix.Pacz
Assembly: Phoenix.Pacz.dll

Add(T)

Adds an element to the set and returns a value that indicates if it was successfully added. If an item whose Comparator matches already exist in the set, that item will be removed and the new one added.

Parameters

item T

Returns

bool true if the items is added, false otherwise