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

Method first

Astronomy_/src/main/java/util/Stack_Sorter.java:337–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335 }
336
337 void first() {
338 if (slice != 1) {
339 if (stack instanceof VirtualStack virtualStack) {
340 virtualStack.swapSlices(slice, 1);
341 } else {
342 stack.addSlice(stack.getSliceLabel(slice), stack.getProcessor(slice), 0);
343 stack.deleteSlice(slice + 1);
344 }
345 imp.setStack(null, stack);
346 imp.setSlice(1);
347 imp.updateAndDraw();
348 }
349 }
350
351 void bkwd() {
352 if (slice != numSlices) {

Callers 15

actionPerformedMethod · 0.95
build.gradle.ktsFile · 0.80
matchesFilterMethod · 0.80
showDialogMethod · 0.80
writeImageMethod · 0.80
sortMethod · 0.80
paintIconMethod · 0.80
getIconWidthMethod · 0.80
toComponentFunction · 0.80
processImageMethod · 0.80
undoOutlierCleanMethod · 0.80

Calls 8

swapSlicesMethod · 0.80
setStackMethod · 0.80
addSliceMethod · 0.45
getSliceLabelMethod · 0.45
getProcessorMethod · 0.45
deleteSliceMethod · 0.45
setSliceMethod · 0.45
updateAndDrawMethod · 0.45

Tested by

no test coverage detected