Java Array Sort sort(String[] strArray)

Here you can find the source of sort(String[] strArray)

Description

sort

License

Open Source License

Declaration

public static String sort(String[] strArray) 

Method Source Code


//package com.java2s;
import java.util.Arrays;

public class Main {

    public static String sort(String[] strArray) {
        Arrays.sort(strArray);/*from  w ww  .java 2  s. c o  m*/
        StringBuilder sb = new StringBuilder();
        for (String str : strArray) {
            sb.append(str);
        }

        return sb.toString();
    }
}

Related

  1. sort(String[] colnos)
  2. sort(String[] s)
  3. sort(String[] sArray)
  4. sort(String[] str)
  5. sort(String[] strArray)
  6. sort(T[] a, S[] a2)
  7. sort(T[] array)
  8. sort(T[] array)
  9. sort(T[] array)