Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.datenstrudel.bulbs.shared.domain.model.bulb;
 

Author(s):
Thomas Wendzinski
 
 public enum BulbsPlatform implements Serializable{
    
    _EMULATED,
    PHILIPS_HUE,
    LIFX,
    ;
    public static final String allValues(){
        StringBuilder res = new StringBuilder();
        for(BulbsPlatform el : BulbsPlatform.values()){
            res.append(el.toString())
                .append("|");
        }
        res.deleteCharAt(res.length() - 1);
        return res.toString();
    }
    
New to GrepCode? Check out our FAQ X