|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ctdp.rfdynhud.properties.GenericFieldsIterator<T>
T
- the runtime type of the iterated fieldspublic abstract class GenericFieldsIterator<T>
Iterates all Field
values of a given Class
.
This includes all super classes and even private fields.
Constructor Summary | |
---|---|
GenericFieldsIterator(java.lang.Object object)
|
|
GenericFieldsIterator(java.lang.Object object,
boolean includeStatic)
|
Method Summary | |
---|---|
protected abstract boolean |
checkFieldType(java.lang.reflect.Field field)
Checks, if the field is of a type, that we want to iterate. |
boolean |
hasNext()
|
T |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericFieldsIterator(java.lang.Object object, boolean includeStatic)
public GenericFieldsIterator(java.lang.Object object)
Method Detail |
---|
protected abstract boolean checkFieldType(java.lang.reflect.Field field)
field
-
true
, if the field is interesting, false
otherwise.public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public T next()
next
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |