Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.jreddit.entity;

Enumeration to represent the different types of Things.
 
 public enum Kind {
 
     COMMENT("t1"), ACCOUNT("t2"), LINK("t3"), MESSAGE("t4"), SUBREDDIT("t5"), AWARD("t6"), PROMO_CAMPAIGN("t8"), MORE("more"), LISTING("listing");
 
    private String value;

    
Type enumeration constructor.

Parameters:
value String representation
    Kind(String value) {
        this. = value;
    }

    
Retrieve the value of the type.

Returns:
Type String representation.
    public String value() {
        return ;
    }
    
New to GrepCode? Check out our FAQ X