Here you can find the source of sortStrings(String[] strings)
Parameter | Description |
---|---|
string | Strings to be sorted |
public static void sortStrings(String[] strings)
//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); } }