- SelectionSort - Class in org.plasma.common.sort
-
Selection sort algorithm
Time Complexity: O(n*n)
Memory Complexity: O(1)
Stable: yes
Note: Other implementations of the selection sort algorithm might not be stable.
- SelectionSort() - Constructor for class org.plasma.common.sort.SelectionSort
-
- selectionSort(T[]) - Static method in class org.plasma.common.sort.Sort
-
- selectionSort(int[]) - Static method in class org.plasma.common.sort.Sort
-
- selectionSort(long[]) - Static method in class org.plasma.common.sort.Sort
-
- selectionSort(double[]) - Static method in class org.plasma.common.sort.Sort
-
- selectionSort(float[]) - Static method in class org.plasma.common.sort.Sort
-
- selectionSort(char[]) - Static method in class org.plasma.common.sort.Sort
-
- selectionSort(boolean[]) - Static method in class org.plasma.common.sort.Sort
-
- selectionSort(byte[]) - Static method in class org.plasma.common.sort.Sort
-
- setIndent(boolean) - Method in interface org.plasma.common.io.StreamAssembler
-
- setIndentationToken(String) - Method in interface org.plasma.common.io.StreamAssembler
-
- severityId - Variable in exception org.plasma.common.exception.UserException
-
- ShellSort - Class in org.plasma.common.sort
-
Shell sort algorithm
Time Complexity: O(n log2 n)
Memory Complexity: O(1)
Stable: no
- ShellSort() - Constructor for class org.plasma.common.sort.ShellSort
-
- shellSort(T[]) - Static method in class org.plasma.common.sort.Sort
-
- shellSort(int[]) - Static method in class org.plasma.common.sort.Sort
-
- shellSort(long[]) - Static method in class org.plasma.common.sort.Sort
-
- shellSort(double[]) - Static method in class org.plasma.common.sort.Sort
-
- shellSort(float[]) - Static method in class org.plasma.common.sort.Sort
-
- shellSort(char[]) - Static method in class org.plasma.common.sort.Sort
-
- shellSort(boolean[]) - Static method in class org.plasma.common.sort.Sort
-
- shellSort(byte[]) - Static method in class org.plasma.common.sort.Sort
-
- sort(T[]) - Method in class org.plasma.common.sort.BubbleSort
-
- sort(T[]) - Method in class org.plasma.common.sort.InsertionSort
-
- sort(T[], Comparator<T>) - Method in class org.plasma.common.sort.InsertionSort
-
- sort(T[]) - Method in class org.plasma.common.sort.MergeSort
-
- sort(T[]) - Method in class org.plasma.common.sort.QuickSort
-
- sort(T[]) - Method in class org.plasma.common.sort.SelectionSort
-
- sort(T[]) - Method in class org.plasma.common.sort.ShellSort
-
- Sort - Class in org.plasma.common.sort
-
These algorithms can be used to sort an array of
any primitive datatype / Comparable Object.
- Sort() - Constructor for class org.plasma.common.sort.Sort
-
- sort(T[]) - Method in class org.plasma.common.sort.Sorter
-
- Sorter - Class in org.plasma.common.sort
-
Information about each algorithm's time/memory complexity and stability
is provided in their respective classes.
- Sorter() - Constructor for class org.plasma.common.sort.Sorter
-
- start() - Method in interface org.plasma.common.io.StreamAssembler
-
- StreamAssembler - Interface in org.plasma.common.io
-
- StreamCopier - Class in org.plasma.common.io
-
- StreamCopier() - Constructor for class org.plasma.common.io.StreamCopier
-
Creates a new instance of StreamCopier
- swap(Object[], int, int) - Method in class org.plasma.common.sort.Sorter
-
Swap the contents of a[i] and a[j]