Count the occurrence of any number of characters in a file?
<p>I have found several ways to count the occurrence of a single character in a file in Java.  My question is simply this: is there any way to count the occurrence of any of the characters in a list in a file simultaneously, or am I going to have to loop through each character?</p>

<p>To clarify, I'm wanting something equivalent to:
For each character in file, if character in list "abcdefg" increment 1.</p>

<p>Background:
I'm counting predicates in a file, and the best method I could think of was to search for occurrences of &lt;, >, ==, etc.</p>
