Skip to content

Commit

Permalink
Make enums be inner classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Oct 25, 2021
1 parent 18fd1ae commit 49c1a4d
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 49c1a4d

Please sign in to comment.