Module ij
Package ij.util

Class StringSorter


  • public class StringSorter
    extends java.lang.Object
    A simple QuickSort for String arrays.
    • Constructor Summary

      Constructors 
      Constructor Description
      StringSorter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void sort​(java.lang.String[] a)
      Sorts the array.
      static java.lang.String[] sortNumerically​(java.lang.String[] list)
      Sorts file names containing numerical components.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringSorter

        public StringSorter()
    • Method Detail

      • sort

        public static void sort​(java.lang.String[] a)
        Sorts the array.
      • sortNumerically

        public static java.lang.String[] sortNumerically​(java.lang.String[] list)
        Sorts file names containing numerical components. Author: Norbert Vischer