Here you can find the source of pluralize(int count, String word)
static String pluralize(int count, String word)
//package com.java2s; //License from project: Open Source License public class Main { static String pluralize(int count, String word) { return count == 1 ? word : word + 's'; }/* w w w. j a va 2s . c om*/ }