com.github.cage.token
Class RandomCharacterGeneratorFactory.RandomCharacterGenerator
java.lang.Object
com.github.cage.token.RandomCharacterGeneratorFactory.RandomCharacterGenerator
- All Implemented Interfaces:
- IGenerator<Character>
- Enclosing class:
- RandomCharacterGeneratorFactory
public class RandomCharacterGeneratorFactory.RandomCharacterGenerator
- extends Object
- implements IGenerator<Character>
Generates characters based on the settings of the factory. This is
not thread safe!
Method Summary |
Character |
next()
Returns an object with type T on every call. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomCharacterGeneratorFactory.RandomCharacterGenerator
public RandomCharacterGeneratorFactory.RandomCharacterGenerator()
next
public Character next()
- Description copied from interface:
IGenerator
- Returns an object with type
T
on every call. The returned
object does not have to be a new instance.
- Specified by:
next
in interface IGenerator<Character>
- Returns:
- generated object
Copyright © 2011. All Rights Reserved.