Here you can find the source of pluralise(int count, String singular, String plural)
public static String pluralise(int count, String singular, String plural)
//package com.java2s; //License from project: BSD License public class Main { public static String pluralise(int count, String singular, String plural) { return (count == 1) ? singular : plural; }/*from w w w . j av a 2 s . c o m*/ }