public class ColorGenerator extends Object implements Iterator<Color>
Constructor and Description |
---|
ColorGenerator() |
ColorGenerator(Color seed) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Always returns
true . |
Color |
next()
Returns the next random color
|
void |
remove()
Throws an
UnsupportedOperationException if called. |
public ColorGenerator()
public ColorGenerator(Color seed)
public boolean hasNext()
true
.public Color next()
public void remove()
UnsupportedOperationException
if called.Copyright © 2012. All Rights Reserved.