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

Method subSet

JSAT/src/jsat/utils/IntSortedSet.java:302–308  ·  view source on GitHub ↗
(Integer fromElement, Integer toElement)

Source from the content-addressed store, hash-verified

300 }
301
302 @Override
303 public SortedSet<Integer> subSet(Integer fromElement, Integer toElement)
304 {
305 if(fromElement > toElement)
306 throw new IllegalArgumentException("fromKey was > toKey");
307 return parent.subSet(Math.max(minValidValue, fromElement), Math.min(maxValidValue+1, toElement));
308 }
309
310 @Override
311 public SortedSet<Integer> headSet(Integer toElement)

Callers

nothing calls this directly

Calls 3

subSetMethod · 0.45
maxMethod · 0.45
minMethod · 0.45

Tested by

no test coverage detected