We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f7864 commit 56a5bd6Copy full SHA for 56a5bd6
Core/src/main/java/com/plotsquared/core/util/comparator/PlotByCreationDateComparator.java
@@ -1,18 +1,15 @@
1
package com.plotsquared.core.util.comparator;
2
3
import com.plotsquared.core.plot.Plot;
4
-import org.jetbrains.annotations.ApiStatus;
5
6
import java.util.Comparator;
7
8
/**
9
* Sort plots by {@link Plot#temp} (being the auto increment id in database) in natural order for {@code temp > 0}.
10
* For {@code temp < 1} sort by {@link Plot#hashCode()}
11
*/
12
-@ApiStatus.Internal
13
public class PlotByCreationDateComparator implements Comparator<Plot> {
14
15
- @ApiStatus.Internal
16
public static final Comparator<Plot> INSTANCE = new PlotByCreationDateComparator();
17
18
private PlotByCreationDateComparator() {
0 commit comments