 | IPriorityQueueTInsert Method |
Inserts the passed item with the specified key into this priority queue.
Namespace: Slash.Collections.PriorityQueuesAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
SyntaxIPriorityQueueItem<T> Insert(
T item,
double key
)
Function Insert (
item As T,
key As Double
) As IPriorityQueueItem(Of T)
IPriorityQueueItem<T>^ Insert(
T item,
double key
)
abstract Insert :
item : 'T *
key : float -> IPriorityQueueItem<'T>
Parameters
- item
- Type: T
Item to insert. - key
- Type: SystemDouble
Key of the item to insert.
Return Value
Type:
IPriorityQueueItemTContainer that holds the passed item.
See Also