src/main/java/com/github/fge/grappa/support/Characters.java
public static Characters of(final char... chars)
    {
        final int length = chars.length;
        if (length == 0)
            return NONE;
        final char[] array = Arrays.copyOf(chars, length);
        Arrays.sort(array);
        return new Characters(false, array);
    }
public static Characters of(final char... chars)
    {
        final int length = chars.length;
        if (length == 0)
            return NONE;
        final char[] array = Arrays.copyOf(chars, length);
        Arrays.sort(array);
        return new Characters(false, array);
    }
Creates a new Characters instance containing only the given chars.

@param chars the chars
@return a new Characters object