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

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

@return the corresponding {@code Boolean} array.
Converts an array of { @code boolean } s to an array of { @code Boolean } s . Returns { @code null } if the given array is { @code null } . Does not modify the input array .