Here you can find the source of toUpperCaseFirstOne(String origin)
private static String toUpperCaseFirstOne(String origin)
//package com.java2s; //License from project: Open Source License public class Main { private static String toUpperCaseFirstOne(String origin) { StringBuffer sb = new StringBuffer(origin); sb.setCharAt(0, Character.toUpperCase(sb.charAt(0))); sb.insert(0, "get"); return sb.toString(); }/*w w w.j a va 2 s .c o m*/ }