connectionUtils/src/main/java/com/ge/research/semtk/utility/Utility.java
public static boolean arraysSameMinusOrder(String[] arr1, String[] arr2) {
		String[] arr1Clone = arr1.clone();	// clone so as to not reorder the actual array passed in here
		String[] arr2Clone = arr2.clone();
	    Arrays.sort(arr1Clone);
	    Arrays.sort(arr2Clone);
	    return Arrays.equals(arr1Clone, arr2Clone);
	}
/**
	 * Determine if two String arrays have the same elements, ignoring order
	 */
Determine if two String arrays have the same elements, ignoring order
Determine if two String arrays have the same elements ignoring order
public static boolean arraysSameMinusOrder(String[] arr1, String[] arr2) {
		String[] arr1Clone = arr1.clone();	
		String[] arr2Clone = arr2.clone();
	    Arrays.sort(arr1Clone);
	    Arrays.sort(arr2Clone);
	    return Arrays.equals(arr1Clone, arr2Clone);
	}
public static boolean arraysSameMinusOrder ( String [ ] arr1 , String [ ] arr2 ) { String [ ] arr1Clone = arr1 . clone ( ) ; String [ ] arr2Clone = arr2 . clone ( ) ; Arrays . sort ( arr1Clone ) ; Arrays . sort ( arr2Clone ) ; return Arrays . equals ( arr1Clone , arr2Clone ) ; }
Determine if two String arrays have the same elements, ignoring order
Determine if two String arrays have the same elements ignoring order
// clone so as to not reorder the actual array passed in here