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

Method IndexTable

JSAT/src/jsat/utils/IndexTable.java:69–73  ·  view source on GitHub ↗

Creates a new index table of a specified size that is in linear order. @param size the size of the index table to create

(int size)

Source from the content-addressed store, hash-verified

67 * @param size the size of the index table to create
68 */
69 public IndexTable(int size)
70 {
71 index = new IntList(size);
72 ListUtils.addRange(index, 0, size, 1);
73 }
74
75 /**
76 * Creates a new index table based on the given array. The array will not be altered.

Callers

nothing calls this directly

Calls 4

addRangeMethod · 0.95
unmodifiableViewMethod · 0.95
sortMethod · 0.95
sizeMethod · 0.65

Tested by

no test coverage detected