guava/src/com/google/common/collect/MinMaxPriorityQueue.java
public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
    return new Builder<Comparable>(Ordering.natural()).create();
  }
public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
    return new Builder<Comparable>(Ordering.natural()).create();
  }
public static < E extends Comparable < E > > MinMaxPriorityQueue < E > create ( ) { return new Builder < Comparable > ( Ordering . natural ( ) ) . create ( ) ; }
Creates a new min-max priority queue with default settings: natural order, no maximum size, no
initial contents, and an initial expected size of 11.
Creates a new min - max priority queue with default settings : natural order no maximum size no initial contents and an initial expected size of 11 .