In the following code I want to execute the if condition inside the outer for loop several times, but in the following code it only executes once and executes the steps after it. binaryHashResult is an array and innerNode is a List. I want to check if all values in array exist in list.
for (int j = 0; j < binaryHashResult.length; j++)
if (innerNode[binaryHashResult[j]] == 1.0)
for (int h = 0; h < m.children.size(); h++) {
BloomFilterIndex.BFINode<Integer> s=m.children.get(h);
searchencryptedNode(binaryHashResult, e, k, s);
}