MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / clear

Method clear

vm/JavaAPI/src/java/util/PriorityQueue.java:162–166  ·  view source on GitHub ↗

Removes all the elements of the priority queue.

()

Source from the content-addressed store, hash-verified

160 * Removes all the elements of the priority queue.
161 */
162 @Override
163 public void clear() {
164 Arrays.fill(elements, null);
165 size = 0;
166 }
167
168 /**
169 * Inserts the element to the priority queue.

Callers

nothing calls this directly

Calls 1

fillMethod · 0.95

Tested by

no test coverage detected