Java Integer to intToGoodBadSimple(int i)

Here you can find the source of intToGoodBadSimple(int i)

Description

int To Good Bad Simple

License

Open Source License

Declaration

public static String intToGoodBadSimple(int i) 

Method Source Code

//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";
    }
}

Related

  1. intToFixedLengthString(int value, int length)
  2. intToFourByte(long value, byte[] dest, int off)
  3. intToFourBytes(int i)
  4. intToFourBytes(int iValue, byte b[], int offset)
  5. intToFourChars(int value)
  6. intToID(int ID)
  7. intToInteger(int[] array)
  8. intToIntegerArray(int[] array)
  9. intToLengthHexByte(int args, int hexLength)