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

Method add

JSAT/src/jsat/utils/IntSortedSet.java:212–220  ·  view source on GitHub ↗
(Integer e)

Source from the content-addressed store, hash-verified

210 }
211
212 @Override
213 public boolean add(Integer e)
214 {
215 if(e == null)
216 return false;
217 if(e < minValidValue || e > maxValidValue)
218 throw new IllegalArgumentException("You can not add to a sub-set view outside of the constructed range");
219 return parent.add(e);
220 }
221
222 public boolean contains(int o)
223 {

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected