MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / removeLast

Method removeLast

ij/src/main/java/ij/util/FloatArray.java:89–91  ·  view source on GitHub ↗

Deletes the last n element from this FloatArray. n may be larger than the number of elements; in that case, all elements are removed.

(int n)

Source from the content-addressed store, hash-verified

87 /** Deletes the last <code>n</code> element from this FloatArray. <code>n</code> may be larger than the number of elements; in that
88 * case, all elements are removed. */
89 public void removeLast(int n) {
90 size -= Math.min(n, size);
91 }
92
93 /** Trims the capacity of this FloatArray instance to be its current size,
94 * minimizing the storage of the FloatArray instance. */

Callers 1

getFloatPolygonMethod · 0.95

Calls 1

minMethod · 0.45

Tested by

no test coverage detected