Package org.passay.dictionary.sort
Class ArraysSort
- java.lang.Object
-
- org.passay.dictionary.sort.ArraysSort
-
- All Implemented Interfaces:
ArraySorter
public class ArraysSort extends Object implements ArraySorter
Delegates sorting toArrays.sort(Object[], Comparator)
.- Author:
- Middleware Services
-
-
Constructor Summary
Constructors Constructor Description ArraysSort()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sort(String[] array)
This will sort the supplied string array.void
sort(String[] array, Comparator<String> c)
This will sort the supplied string array.
-
-
-
Method Detail
-
sort
public void sort(String[] array)
Description copied from interface:ArraySorter
This will sort the supplied string array.- Specified by:
sort
in interfaceArraySorter
- Parameters:
array
- To sort
-
sort
public void sort(String[] array, Comparator<String> c)
Description copied from interface:ArraySorter
This will sort the supplied string array.- Specified by:
sort
in interfaceArraySorter
- Parameters:
array
- To sortc
- Comparator to sort with
-
-