/// <summary> /// Returns all values with priority at most <paramref name="priority"/>. /// </summary> /// <param name="priority">The priority.</param> public PriorityQueue <T, TPriority> AtMost(TPriority priority) { return(new PriorityQueue <T, TPriority>(_ft.AtMost(priority))); }
/// <summary> /// Returns all elements in this sequence less than, or equal to, /// <paramref name="item"/>. /// </summary> /// <param name="item">The item.</param> public OrderedSequence <T> AtMost(T item) { return(new OrderedSequence <T>(_ft.AtMost(item))); }