Here you can find the source of intToGoodBadSimple(int i)
public static String intToGoodBadSimple(int i)
//package com.java2s; //License from project: Open Source License public class Main { public static String intToGoodBadSimple(int i) { switch (i) { case 0://from www .jav a 2 s .com return "Good"; case 1: return "Normal"; case 2: return "Bad"; } return "Normal"; } }