Java Array Sort sort(String[] str)

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

Description

sort

License

Open Source License

Declaration

public static String[] sort(String[] str) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.HashMap;

public class Main {
    public static String[] sort(String[] str) {
        HashMap map = new HashMap();
        for (int i = 0; i < str.length; i++) {
            map.put(new Integer(i), str[i]);
        }// ww  w  . ja  va 2 s.  c o m

        HashMap tmp = new HashMap();
        for (int i = 0; i < str.length; i++) {
            char[] ch = str[i].toCharArray();
            StringBuffer sb = new StringBuffer();
            for (int j = 0; j < ch.length; j++) {
                sb.append(ch[j]);
            }
        }

        return null;
    }
}

Related

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