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

Method duplicate

ij/src/main/java/ij/macro/Functions.java:6508–6513  ·  view source on GitHub ↗
(Variable[] a1)

Source from the content-addressed store, hash-verified

6506 }
6507
6508 Variable[] duplicate(Variable[] a1) {
6509 Variable[] a2 = new Variable[a1.length];
6510 for (int i=0; i<a1.length; i++)
6511 a2[i] = (Variable)a1[i].clone();
6512 return a2;
6513 }
6514
6515 Variable[] trimArray() {
6516 interp.getLeftParen();

Callers 1

copyArrayMethod · 0.95

Calls 1

cloneMethod · 0.65

Tested by

no test coverage detected