public class SchemaObjectIterator extends java.lang.Object implements java.util.Iterator<SchemaObject>
| Constructor and Description |
|---|
SchemaObjectIterator(DBObjectProvider... pros)
Creates a new Iterator over the SchemaObjects in the given providers.
|
SchemaObjectIterator(DBObjectProvider pro)
Creates a new Iterator over the SchemaObjects in the given provider.
|
SchemaObjectIterator(java.util.List<? extends DBObjectProvider> pros)
Creates a new Iterator over the SchemaObjects in the given providers.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Tests if there is another object in this iterator (i.e.
|
SchemaObject |
next()
Gets the next object from this iterator.
|
void |
remove()
Not supported by this Iterator.
|
void |
setTypes(java.lang.String... types)
Restricts the iterator to only the given object types.
|
public SchemaObjectIterator(java.util.List<? extends DBObjectProvider> pros)
public SchemaObjectIterator(DBObjectProvider... pros)
public SchemaObjectIterator(DBObjectProvider pro)
public void setTypes(java.lang.String... types)
public boolean hasNext()
hasNext in interface java.util.Iterator<SchemaObject>public void remove()
remove in interface java.util.Iterator<SchemaObject>public SchemaObject next()
hasNext().next in interface java.util.Iterator<SchemaObject>