All pastes #631416 Raw Edit

Absurd-Mind

public java v1 · immutable
#631416 ·published 2007-07-23 22:53 UTC
rendered paste body
public class TestSort {		static int[] feld = new int[1400];			public static void main(String[] args) {				for(int i = 0; i < feld.length; i++)			feld[i] = (int)(Math.random() * 100);						System.out.print("Unsortiert:");		for(int x = 0; x < feld.length; x++)			System.out.print(" " + feld[x]);				System.out.println();		ausgabe();	}		public static void ausgabe() {				System.out.print("Sortiert:");                int[] sortiertesFeld = new BubbleSort().bs(feld);		for(int i = 0; i < feld.length; i++) {			System.out.print(" " + sortiertesFeld[i]);//			System.out.print(" " + HeapSort.hs(feld)[i]);//			System.out.print(" " + InsertionSort.is(feld)[i]);//			System.out.print(" " + MergeSort.ms(feld)[i]);//			System.out.print(" " + SelectionSort.selSort(feld)[i]);//			System.out.print(" " + QuickSort.qs(feld)[i]);		}					}	}