Java Array Sort sortStrings(String[] strings)

Here you can find the source of sortStrings(String[] strings)

Description

Quick sort an array of Strings.

License

Open Source License

Parameter

Parameter Description
string Strings to be sorted

Declaration


public static void sortStrings(String[] strings) 

Method Source Code

//package com.java2s;
/*/*  w  ww.java2s .  co  m*/
 * Copyright (c) 1998 - 2005 Versant Corporation
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Versant Corporation - initial API and implementation
 */

import java.util.Arrays;

public class Main {
    /**
     * Quick sort an array of Strings.
     * @param string Strings to be sorted
     * @deprecated Use the standard Java java.util.Array.sort instead.
     */

    public static void sortStrings(String[] strings) {
        Arrays.sort(strings);
    }
}

Related

  1. sortStringArray(String[] source)
  2. sortStringArrayAlphabetically(String[] strings)
  3. sortStrings(final String[] strings)
  4. sortStrings(String[] strings)
  5. sortStrings(String[] strings)
  6. sortSubFiles(String[] p_subFiles)
  7. sortTable(String[][] data, int index)
  8. sortToFXYSumOrder(final double[] coeffs)
  9. sortTwoArrays(A[] firstArray, B[] secondArray)