Java BitSet storeCharSet(BitSet stored, String... validCharStrings)

Here you can find the source of storeCharSet(BitSet stored, String... validCharStrings)

Description

store Char Set

License

Apache License

Declaration

public static void storeCharSet(BitSet stored, String... validCharStrings) 

Method Source Code


//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*/
            }
        }
    }
}

Related

  1. setBitSet(BitSet bitSet, int x1, int x2, int y, int width)
  2. shiftLeft(BitSet bs, int n)
  3. shiftLeft(BitSet s, int length)
  4. shiftLeft(BitSet src, int offset)
  5. shiftRight(BitSet bitset, int n)
  6. strArrToBitSet(String stringArray)
  7. stringToBitSet(String sbits)
  8. stripToCommonChars(char[] ac, BitSet commonChars)
  9. toArray(BitSet bitset, int size)