You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
464 B
26 lines
464 B
package com.github.jreddit.request.retrieval.param;
|
|
|
|
/**
|
|
* Enumeration to represent the different sort methods for submission search.
|
|
* @author Simon Kassing
|
|
*/
|
|
public enum SearchSort {
|
|
|
|
HOT("hot"),
|
|
RELEVANCE("relevance"),
|
|
NEW("new"),
|
|
TOP("top"),
|
|
COMMENTS("comments");
|
|
|
|
private final String value;
|
|
|
|
SearchSort(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public String value() {
|
|
return this.value;
|
|
}
|
|
|
|
}
|