|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.service.MethodIterator
public class MethodIterator
Utility used to iterate over the visible methods of a class.
Constructor Summary | |
---|---|
MethodIterator(java.lang.Class subjectClass)
|
Method Summary | |
---|---|
boolean |
getToString()
Returns true if the method public String toString() is part of the interface. |
boolean |
hasNext()
|
MethodSignature |
next()
Returns the next method (as a MethodSignature , returning null when all are
exhausted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodIterator(java.lang.Class subjectClass)
Method Detail |
---|
public boolean hasNext()
public MethodSignature next()
MethodSignature
, returning null when all are
exhausted. Each method signature is returned exactly once (even if the same method signature
is defined in multiple inherited classes or interfaces). The order in which method signatures
are returned is not specified.
java.util.NoSuchElementException
- if there are no more signaturespublic boolean getToString()
public String toString()
is part of the interface.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |