CharSeq extends CharSeqBase implements
		CharSequence,
		ISeq<Character>,
		Comparable<CharSeq>,
		Serializable { private static char[] distinct(final char[] chars) { Arrays.sort(chars); int j = 0; for (int i = 1; i < chars.length; ++i) { if (chars[j] != chars[i]) { chars[++j] = chars[i]; } } final int size = Math.min(chars.length, j + 1); final char[] array = new char[size]; System.arraycopy(chars, 0, array, 0, size); return array; } CharSeq(final char[] characters);  CharSeq(final CharSequence characters); @Override boolean contains(final Object object); boolean contains(final Character c); boolean contains(final char c); @Override char charAt(final int index); @Override int length(); @Override CharSeq subSequence(final int start, final int end); boolean isEmpty(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override int compareTo(final CharSeq set); @Override String toString(); static String expand(final CharSequence pattern); static String expand(final char a, final char b); static CharSeq of(final CharSequence pattern); static CharSeq of(final char a, final char b); static ISeq<Character> toISeq(final CharSequence chars); static Collector<Character, ?, CharSeq> toCharSeq();  }
@Test public void distinct() { final CharSeq cs1 = new CharSeq("abcdeaafg"); final CharSeq cs2 = new CharSeq("gfedcbabb"); Assert.assertEquals(cs1, cs2); }