Class XArrays
×News: OpenXava 7.7 released - March 9 · Read more
java.lang.Object
org.openxava.util.XArrays
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanhaveSameElements(int[] array1, int[] array2) To know if the two arrays has the same elements.static booleanhaveSameElements(Map[] array1, Map[] array2) To know if the two arrays has the same elements.static booleanstatic void
-
Constructor Details
-
XArrays
public XArrays()
-
-
Method Details
-
haveSameElements
public static boolean haveSameElements(int[] array1, int[] array2) To know if the two arrays has the same elements.The order does not matter, a null arrays has the same elements than an arrays with 0 elements.
- Parameters:
array1- Can be nullarray2- Can be null- Since:
- 4.5
-
haveSameElements
-
move
- Since:
- 5.6
-
isArray
-