black_friday/Assets/Scripts/PriorityQueue.cs
/// <summary>
/// Gets the first element in the priority queue
/// </summary>
/// <returns>The first element</returns>
Gets the first element in the priority queue
Gets the first element in the priority queue
public T Peek()
        {
            if (innerHeap.Count > 0)
            {
                return innerHeap[0];
            }
            throw new NullReferenceException("NO_DATA_IN_QUEUE");
        }
public T Peek ( ) { if ( innerHeap . Count > 0 ) { return innerHeap [ 0 ] ; } throw new NullReferenceException ( " " ) ; }
Gets the first element in the priority queue
Gets the first element in the priority queue
The first element
The first element