|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.beesting.beangenerator.util.ArrayUtil
public class ArrayUtil
Constructor Summary | |
---|---|
ArrayUtil()
|
Method Summary | |
---|---|
static int |
elementAt(java.lang.Object[] array,
java.lang.Object possibleElement)
Determines at what index an element is in an array. |
static java.lang.Object |
getPropertyValue(java.lang.Object[] array,
java.lang.String property)
Method getPropertyValue; gets the first occurrence. |
static java.lang.Object[] |
getPropertyValues(java.lang.Object[] array,
java.lang.String property)
Method getPropertyValue; gets the first occurrence |
static java.lang.String |
toString(java.lang.Object[] array)
Method toString. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayUtil()
Method Detail |
---|
public static int elementAt(java.lang.Object[] array, java.lang.Object possibleElement)
array
- the array of object to search inpossibleElement
- the element for which to search
0 <= n <= array.length
if the possible element is in the passed
array, -1
otherwise.public static java.lang.String toString(java.lang.Object[] array)
array
-
public static java.lang.Object getPropertyValue(java.lang.Object[] array, java.lang.String property)
array
- the array of objectsproperty
- the property to be found in the array
null
if something went wrongpublic static java.lang.Object[] getPropertyValues(java.lang.Object[] array, java.lang.String property)
array
- the array of objectsproperty
- the property to be found in the array
null
if something went wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |