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

Method setSliceLabels

ij/src/main/java/ij/VirtualStack.java:386–390  ·  view source on GitHub ↗

Sets the array of slice labels. The array size must be the stack size or larger

(String[] labels)

Source from the content-addressed store, hash-verified

384
385 /** Sets the array of slice labels. The array size must be the stack size or larger */
386 protected void setSliceLabels(String[] labels) {
387 if (labels != null && labels.length < getSize())
388 throw new IllegalArgumentException("Labels array too short: "+labels.length);
389 this.labels = labels;
390 }
391
392 /** Always returns true. */
393 public boolean isVirtual() {

Callers 2

FileInfoVirtualStackMethod · 0.80
openMethod · 0.80

Calls 1

getSizeMethod · 0.95

Tested by

no test coverage detected