List of usage examples for org.apache.commons.lang CharSet getCharRanges
public CharRange[] getCharRanges()
Gets the internal set as an array of CharRange objects.
From source file:CharSetExampleV1.java
public static void main(String args[]) { CharSet set = CharSet.getInstance("the apprentice"); System.err.println(set.contains('q')); CharRange[] range = set.getCharRanges(); System.err.println(ArrayUtils.toString(range)); }