A library of various sorting algorithms implemented in Java.
- Easy to use with a simple API.
- Sorts different lists of different data types with intermediate steps and visual end result
Supported lists, datatypes and algorithms
Datatypes:
- Integer
- Double
- Float
- Long
List types:
- Array
- ArrayList
List of all implemented algorithms:
- Bubblesort
- Selectionsort
- Insertionsort
- Bogosort
- Quicksort
- Heapsort
To use the Java Sorting Algorithms Library in your project, follow these steps:
- Downlaod the jar file from here
- Create a new folder in your workspace called
lib
CTRL X
+CTRL V
the .jar file from your download folder into thelib
folder
-
Click on your project, then
ALT
+ENTER
to enter the properties of the project
4.1 Click onJava Build Path
on the left and then onLibraries
in the upper right corner4.2 Click
Add JARs
on the right, browse to theLib
folder in the project and select the JAR file4.3 finally press
Apply and close
To sort an array of integers using bubble sort:
- Author: @lpj-app
- Algorithm snippets: www.happycoders.eu
Apache License Version 2.0 - For more Information check the License