@ Nonnull @ ReturnsMutableCopy public static char [ ] getAsCharArray ( @ Nonnull final Set < Character > aChars ) { ValueEnforcer . notNull ( aChars , "Chars" ) ; final char [ ] ret = new char [ aChars . size ( ) ] ; int nIndex = 0 ; for ( final Character aChar : aChars ) ret [ nIndex ++ ] = aChar . charValue ( ) ; return ret ; }
Convert the passed set to an array