/guava/android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} return new Builder<Comparable<E>>( Ordering.natural( ) ).create( ) ;
return new Builder<Comparable<E>> ( Ordering.natural ( ) ) .create ( ) ; }
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible @ElementTypesAreNonnullByDefault public final class MinMaxPriorityQueue<E> extends AbstractQueue<E> { public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() { <extra_id_0> public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create( Iterable<? extends E> initialContents) { return new Builder<E>(Ordering.<E>natural()).create(initialContents); } public static <B> Builder<B> orderedBy(Comparator<B> comparator) { return new Builder<>(comparator);