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 |
---|
TypeTree.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
TypeTree.RandomizedIterator(String className)
RandomizedIterator
for the given
class.private void walkTree(Collection children, Collection list)
private void init(String className)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.