class TypeTree.RandomizedIterator extends TypeTree.TypeTreeIterator
TypeTree
. Given a className
, it
maintains a randomized list of subtypes for the given
className
, including the class itself.cursor, typearray
Constructor and Description |
---|
RandomizedIterator(String className)
Create a new
RandomizedIterator for the given
class. |
Modifier and Type | Method and Description |
---|---|
private void |
init(String className)
Set up this iterator to walk over the subtypes of this class,
including the class itself.
|
private void |
walkTree(Collection children,
Collection list) |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
RandomizedIterator(String className)
RandomizedIterator
for the given
class.private void walkTree(Collection children, Collection list)
private void init(String className)
Copyright 2007-2016, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.