Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.jreddit.retrieval.params;

Enumeration to represent the different sort methods for submission search.

Author(s):
Simon Kassing
 
 public enum SearchSort {
 
     HOT("hot"), 
    RELEVANCE("relevance"), 
    NEW("new"), 
    TOP("top"), 
    COMMENTS("comments");
    private final String value;
    SearchSort(String value) {
        this. = value;
    }
    public String value() {
        return this.;
    }
    
New to GrepCode? Check out our FAQ X