public class SpannerKeyFieldIterator extends Object implements Iterator<Field>
Class.getDeclaredFields() and as such, iteration order is not guaranteed.
Iteration will not include synthetic fields and can throw SecurityExceptions based on configured
SecurityManagerSecurityManager| Constructor and Description |
|---|
SpannerKeyFieldIterator(Class<?> clazz)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
static Iterable<Field> |
iterable(Class<?> clazz)
Build an iterable wrapping this key field iterator.
|
Field |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic SpannerKeyFieldIterator(Class<?> clazz)
public boolean hasNext()
throws SecurityException
hasNext in interface Iterator<Field>SecurityExceptionCopyright © 2022 Google LLC. All rights reserved.