public boolean matches(char c) {
    return Arrays.binarySearch(chars, c) >= 0;
  }
Simple replacement for the real CharMatcher until it's out of @Beta.

@author Colin Decker
jimfs/src/main/java/com/google/common/jimfs/InternalCharMatcher.java