Here you can find the source of shiftCharacter(char c, int offset)
public static char shiftCharacter(char c, int offset)
//package com.java2s; //License from project: Apache License public class Main { public static char shiftCharacter(char c, int offset) { return (char) (c + offset); }//from ww w .ja v a2s.c o m }