MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / remove

Method remove

JSAT/src/jsat/utils/IntPriorityQueue.java:159–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 @Override
160 public void remove()
161 {
162 if(!canRemove)
163 throw new IllegalStateException("An element can not currently be removed");
164 else
165 {
166 canRemove = false;
167 removeHeapNode(pos+1);
168 }
169 }
170 };
171 }
172

Callers 2

removeHeapNodeMethod · 0.45

Calls 2

removeHeapNodeMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected