Java Array Sort sort(double[] data)

Here you can find the source of sort(double[] data)

Description

sort

License

Apache License

Declaration

public static void sort(double[] data) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Arrays;

public class Main {

    public static void sort(double[] data) {

        if (data == null) {
            return;
        }//from ww  w .  ja  va2  s .c  om

        Arrays.sort(data);
    }

    public static void sort(int[] data) {

        if (data == null) {
            return;
        }

        Arrays.sort(data);
    }
}

Related

  1. sort( float[] array)
  2. sort(byte[] b, int pos)
  3. sort(double s[], int idx[])
  4. sort(double[] a, int[] b)
  5. sort(double[] coords1, int length1, double[] coords2, int length2, int[] array)
  6. sort(double[] data, boolean desc)
  7. sort(Double[] inArray)
  8. sort(double[] vector, boolean ascending)
  9. sort(double[] x)