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

Method get

JSAT/src/jsat/utils/SimpleList.java:56–62  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

54 }
55
56 @Override
57 public E get(int index)
58 {
59 if(index >= size())
60 throw new IndexOutOfBoundsException();
61 return (E) source[index];
62 }
63
64 @Override
65 public int size()

Callers 3

testGetMethod · 0.95
testAddMethod · 0.95
testSetMethod · 0.95

Calls 1

sizeMethod · 0.95

Tested by 3

testGetMethod · 0.76
testAddMethod · 0.76
testSetMethod · 0.76