Module ij
Package ij.util

Class StringSorter

java.lang.Object
ij.util.StringSorter

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

    Constructors 
    Constructor Description
    StringSorter()  
  • Method Summary

    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 Details

  • Method Details

    • 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