 | FibonacciHeapTInsert Method |
Inserts the passed item with the specified key into this heap.
Namespace: Slash.Collections.PriorityQueuesAssembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntaxpublic IPriorityQueueItem<T> Insert(
T item,
double key
)
Public Function Insert (
item As T,
key As Double
) As IPriorityQueueItem(Of T)
public:
virtual IPriorityQueueItem<T>^ Insert(
T item,
double key
) sealed
abstract Insert :
item : 'T *
key : float -> IPriorityQueueItem<'T>
override 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.
Implements
IPriorityQueueTInsert(T, Double)
See Also