class CUtils {

	public static Object[] map2Array(Map<?, ?> map){
		Object[] array = new Object[map.size()*2];
		int index = 0;
		for(Entry<?, ?> entry : map.entrySet()){
			array[index++] = entry.getKey();
			array[index++] = entry.getValue();
		}
		return array;
	}

	private  CUtils();

}