com.github.cage.token
Class RandomCharacterGeneratorFactory.RandomCharacterGenerator

java.lang.Object
  extended by 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!


Constructor Summary
RandomCharacterGeneratorFactory.RandomCharacterGenerator()
           
 
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
 

Constructor Detail

RandomCharacterGeneratorFactory.RandomCharacterGenerator

public RandomCharacterGeneratorFactory.RandomCharacterGenerator()
Method Detail

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.