MCPcopy Index your code
hub / github.com/antlr/codebuff / newPriorityBlockingQueue

Method newPriorityBlockingQueue

output/java_guava/1.4.18/Queues.java:212–214  ·  view source on GitHub ↗

Creates an empty PriorityBlockingQueue with the ordering given by its elements' natural ordering. @since 11.0 (requires that E be Comparable since 15.0).

()

Source from the content-addressed store, hash-verified

210
211
212 public static <E extends Comparable> PriorityBlockingQueue<E> newPriorityBlockingQueue() {
213 return new PriorityBlockingQueue<E>();
214 }
215
216 /**
217 * Creates a {@code PriorityBlockingQueue} containing the given elements.

Callers

nothing calls this directly

Calls 2

castMethod · 0.95
addAllMethod · 0.95

Tested by

no test coverage detected