Java String Pluralize pluralize(String name)

Here you can find the source of pluralize(String name)

Description

pluralize

License

Apache License

Declaration

private static String pluralize(String name) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    private static String pluralize(String name) {
        StringBuilder pluralized = new StringBuilder(name);
        return pluralized.append("s").toString();
    }/* ww  w. j a v a2s .c o m*/
}

Related

  1. pluralize(long count, String singularFormat, String pluralFormat)
  2. pluralize(long strictlyPositiveCount, String singular, String plural)
  3. pluralize(long val, String singular, String plural)
  4. pluralize(String base, int quantity)
  5. pluralize(String input)
  6. pluralize(String name)
  7. pluralize(String name)
  8. pluralize(String name)
  9. pluralize(String s)