Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.staticdata;
 
 public enum RuneType {
     GLYPH, MARK, QUINTESSENCE, SEAL;
 
     public static RuneType fromString(final String type) {
         switch(type) {
             case "black":
                 return ;
            case "red":
                return ;
            case "yellow":
                return ;
            case "blue":
                return ;
            default:
                return null;
        }
    }
New to GrepCode? Check out our FAQ X