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

Method add

JSAT/src/jsat/utils/DoubleList.java:80–86  ·  view source on GitHub ↗

Performs exactly the same as #add(java.lang.Double) . @param e the value to add @return true if it was added, false otherwise

(double e)

Source from the content-addressed store, hash-verified

78 * @return true if it was added, false otherwise
79 */
80 public boolean add(double e)
81 {
82 enlageIfNeeded(1);
83 array[end] = e;
84 increasedSize(1);
85 return true;
86 }
87
88 /**
89 * Makes the changes indicating that a number of items have been removed

Callers 15

testApply_ListMethod · 0.95
testReadNumericOnlyMethod · 0.95
testLoadR_FileMethod · 0.95
testLog2Method · 0.95
testLog2_2pd1Method · 0.95
testLog2_c11Method · 0.95
testPow2_doubleMethod · 0.95
testPowMethod · 0.95
testLogMethod · 0.95
testExpMethod · 0.95
testDigammaMethod · 0.95

Calls 5

enlageIfNeededMethod · 0.95
increasedSizeMethod · 0.95
sizeMethod · 0.95
boundsCheckMethod · 0.95
setMethod · 0.95

Tested by 12

testApply_ListMethod · 0.76
testReadNumericOnlyMethod · 0.76
testLoadR_FileMethod · 0.76
testLog2Method · 0.76
testLog2_2pd1Method · 0.76
testLog2_c11Method · 0.76
testPow2_doubleMethod · 0.76
testPowMethod · 0.76
testLogMethod · 0.76
testExpMethod · 0.76
testDigammaMethod · 0.76