Here you can find the source of intToPlusMin(int i)
public static String intToPlusMin(int i)
//package com.java2s; //License from project: Open Source License public class Main { public static String intToPlusMin(int i) { switch (i) { case 0:/*from w w w .j a va 2 s . com*/ return "\u00A74-2"; case 1: return "\u00A74-1"; case 2: return "\u00A770"; case 3: return "\u00A72+1"; case 4: return "\u00A72+2"; } return "0"; } }