Here you can find the source of inArray(char[] array, char c)
private static boolean inArray(char[] array, char c)
//package com.java2s; //License from project: Apache License public class Main { private static boolean inArray(char[] array, char c) { char[] arr$ = array; int len$ = array.length; for (int i$ = 0; i$ < len$; ++i$) { char ch = arr$[i$]; if (ch == c) { return true; }/*from ww w . j a va 2s. c o m*/ } return false; } }