Here you can find the source of storeCharSet(BitSet stored, String... validCharStrings)
public static void storeCharSet(BitSet stored, String... validCharStrings)
//package com.java2s; //License from project: Apache License import java.util.BitSet; public class Main { public static void storeCharSet(BitSet stored, String... validCharStrings) { for (String validCharString : validCharStrings) { for (char c : validCharString.toCharArray()) { stored.set(c);/*from ww w .ja v a2 s . com*/ } } } }