MCPcopy Index your code
hub / github.com/EdwardRaff/JSAT / remove

Method remove

JSAT/src/jsat/utils/IntDoubleMap.java:193–206  ·  view source on GitHub ↗
(Object key)

Source from the content-addressed store, hash-verified

191 }
192
193 @Override
194 public Double remove(Object key)
195 {
196 if(key instanceof Integer)
197 {
198 double oldValue = remove(((Integer)key).intValue());
199 if(Double.isNaN(oldValue))
200 return null;
201 else
202 return oldValue;
203 }
204
205 return null;
206 }
207
208 /**
209 *

Callers 3

testRemove_ObjectMethod · 0.95
testRemove_intMethod · 0.95
removeMethod · 0.45

Calls 1

getIndexMethod · 0.95

Tested by 2

testRemove_ObjectMethod · 0.76
testRemove_intMethod · 0.76