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

Method boundsCheck

JSAT/src/jsat/utils/IntList.java:141–145  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

139 }
140
141 private void boundsCheck(int index) throws IndexOutOfBoundsException
142 {
143 if(index >= end)
144 throw new IndexOutOfBoundsException("List of of size " + size() + ", index requested was " + index);
145 }
146
147 @Override
148 public int size()

Callers 3

setMethod · 0.95
addMethod · 0.95
getIMethod · 0.95

Calls 1

sizeMethod · 0.95

Tested by

no test coverage detected