src/org/kocakosm/pitaya/util/XArrays.java
public static char[] toPrimitive(Character... a)
	{
		if (a != null) {
			char[] p = new char[a.length];
			for (int i = 0; i < a.length; i++) {
				p[i] = a[i];
			}
			return p;
		}
		return null;
	}
public static char[] toPrimitive(Character... a)
	{
		if (a != null) {
			char[] p = new char[a.length];
			for (int i = 0; i < a.length; i++) {
				p[i] = a[i];
			}
			return p;
		}
		return null;
	}
public static char [ ] toPrimitive ( Character ... a ) { if ( a != null ) { char [ ] p = new char [ a . length ] ; for ( int i = 0 ; i < a . length ; i ++ ) { p [ i ] = a [ i ] ; } return p ; } return null ; }
Converts an array of {@code Character}s to an array of {@code char}s.
Returns {@code null} if the given array is {@code null}. Does not
modify the input array.

@param a the {@code Character} array to convert.

@return the corresponding {@code char} array.

@throws NullPointerException if {@code a} contains a {@code null} value.
Converts an array of { @code Character } s to an array of { @code char } s . Returns { @code null } if the given array is { @code null } . Does not modify the input array .