Here you can find the source of inArray(String[] delegableOperations, String operationId)
public static boolean inArray(String[] delegableOperations, String operationId)
//package com.java2s; //License from project: Apache License public class Main { public static boolean inArray(String[] delegableOperations, String operationId) { boolean isDelegableOperation = false; for (int i = 0; i < delegableOperations.length && !isDelegableOperation; i++) { if (delegableOperations[i].trim().equalsIgnoreCase( operationId.trim())) { isDelegableOperation = true; }/*from w w w. j a v a 2 s.co m*/ } return isDelegableOperation; } }