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

Method hasNext

JSAT/src/jsat/linear/SubVector.java:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 IndexValue nextVal = origIter.hasNext() ? origIter.next() : new IndexValue(Integer.MAX_VALUE, Double.NaN);
78 IndexValue curVal = new IndexValue(-1, Double.NaN);
79 @Override
80 public boolean hasNext()
81 {
82 return nextVal.getIndex() < length+startPosition;
83 }
84
85 @Override
86 public IndexValue next()

Callers 2

nextMethod · 0.95
getNonZeroIteratorMethod · 0.45

Calls 1

getIndexMethod · 0.45

Tested by

no test coverage detected