Java reflection methods order (getDeclaredMethods)
807589Jul 17 2008 — edited Jul 17 2008I'm looking for the order of methods returned by getDeclaredMethods using reflection.
I've looked http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Class.html#getDeclaredMethods() and in http://java.sun.com/j2se/1.5.0/docs/api/ and I read this:
"The elements in the array returned are not sorted and are not in any particular order."
Is this so? Even in the java 1.6? Does any particular order? How the array is filled?
Edited by: poroto20 on Jul 17, 2008 5:20 AM