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

Method getDoubleFromArrayList

ij/src/main/java/ij/gui/Plot.java:954–960  ·  view source on GitHub ↗
(ArrayList list)

Source from the content-addressed store, hash-verified

952 }
953
954 public double[] getDoubleFromArrayList(ArrayList list) {
955 if (list == null) return null;
956 double[] targ = new double[list.size()];
957 for (int i = 0; i < list.size(); i++)
958 targ[i] = ((Double) list.get(i)).doubleValue();
959 return targ;
960 }
961
962 /** Adds a set of points that will be drawn as ARROWs.
963 * @param x1 the x-coodinates of the beginning of the arrow

Callers 2

addPointsMethod · 0.95
drawVectorsMethod · 0.95

Calls 2

sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected