|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tensegrity.palowebviewer.modules.util.client.Arrays
public class Arrays
Helper class to work with arrays. There is need of it because GWT doesn't emulates all standart array functions.
Constructor Summary | |
---|---|
Arrays()
|
Method Summary | |
---|---|
static boolean |
equals(java.lang.Object[] array1,
java.lang.Object[] array2)
Checks the equality of two arrays. |
static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Checks the equality of two obects, which can be null. |
static int |
indexOf(java.lang.Object[] array,
java.lang.Object object)
Returns index of the object in the array. |
static java.lang.String |
toString(java.lang.Object[] array)
Stringizes the array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Arrays()
Method Detail |
---|
public static int indexOf(java.lang.Object[] array, java.lang.Object object)
array
- where the object is located. Can't be null.object
- the target objects. Can be null
public static boolean equals(java.lang.Object[] array1, java.lang.Object[] array2)
array1
- first array. Can be null.array2
- second array. Can be null.
public static java.lang.String toString(java.lang.Object[] array)
array
- array to stringize. Can be null.
public static boolean equals(java.lang.Object o1, java.lang.Object o2)
o1
- the first objecto2
- the second object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |