Interface SortedQueue<X extends SortedQueue<X>>