|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.util.XArrays
public class XArrays
Utilities to work with arrays.
| Constructor Summary | |
|---|---|
XArrays()
|
|
| Method Summary | |
|---|---|
static boolean |
haveSameElements(int[] array1,
int[] array2)
To know if the two arrays has the same elements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XArrays()
| Method Detail |
|---|
public static boolean haveSameElements(int[] array1,
int[] array2)
The order does not matter, a null arrays has the same elements than an arrays with 0 elements.
array1 - Can be nullarray2 - Can be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||