Skip to content

Commit

Permalink
Merge pull request #1 from HolyGrailSortProject/move-enums
Browse files Browse the repository at this point in the history
make enums inner classes
  • Loading branch information
MusicTheorist authored Oct 25, 2021
2 parents 18fd1ae + 49c1a4d commit da4508a
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,19 @@
* Special thanks to "The Studio" Discord community!
*/

enum LocalMerge {
FORWARDS,
BACKWARDS;
}

//Credit to phoenixbound for this clever idea
enum Subarray {
LEFT,
RIGHT;
}

@SuppressWarnings("hiding")
final public class HolyGrailSort<T> {
enum LocalMerge {
FORWARDS,
BACKWARDS;
}

//Credit to phoenixbound for this clever idea
enum Subarray {
LEFT,
RIGHT;
}

private Comparator<T> cmp;

final static int STATIC_EXT_BUFFER_LEN = 512;
Expand Down

0 comments on commit da4508a

Please sign in to comment.