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

Method getUniqueName

ij/src/main/java/ij/WindowManager.java:369–371  ·  view source on GitHub ↗

Returns a unique name by adding, before the extension, -1, -2, etc. as needed.

(String name)

Source from the content-addressed store, hash-verified

367
368 /** Returns a unique name by adding, before the extension, -1, -2, etc. as needed. */
369 public static String getUniqueName(String name) {
370 return getUniqueName(null, name);
371 }
372
373 public static String getUniqueName(ImagePlus imp, String name) {
374 String name2 = name;

Callers 15

checkForDuplicateNameMethod · 0.95
makeUniqueNameMethod · 0.95
runMethod · 0.95
captureImageMethod · 0.95
runMethod · 0.95
makeSubhyperstackMethod · 0.95
showDialogMethod · 0.95
runMethod · 0.95
flattenMethod · 0.95
compositeToRGBMethod · 0.95
showDialogMethod · 0.95
doFHTInverseTransformMethod · 0.95

Calls 5

isDuplicateNameMethod · 0.95
substringMethod · 0.80
getPropMethod · 0.80
charAtMethod · 0.80
lengthMethod · 0.65

Tested by

no test coverage detected