"public static int checkPositionIndex(int index,int size,String desc)"

"public static int checkElementIndex(int index,int size,String desc)"