|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.hivemind.service.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() was returned by
next() . |
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.
public boolean getToString()
public String toString()
was returned by
next()
. This is typically used to avoid overloading toString() if it is
part of a service interface.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |