Method FindOrAdd
FindOrAdd(ref T)
Find or add the item to the tree. If the tree does not contain an item equivalent to this item add it, else return the existing one in the ref argument.
Declaration
public bool FindOrAdd(ref T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Returns
Type | Description |
---|---|
System.Boolean | True if item was found |