public class SimpleFortuneGenerator extends Object implements FortuneGenerator
| Constructor and Description |
|---|
SimpleFortuneGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Fortune |
nextFortune() |
Fortune |
nextFortune(Language language) |
List<Fortune> |
nextFortunes(int count) |
List<Fortune> |
nextFortunes(Query query) |
public List<Fortune> nextFortunes(Query query)
nextFortunes in interface FortuneGeneratorpublic List<Fortune> nextFortunes(int count)
nextFortunes in interface FortuneGeneratorpublic Fortune nextFortune()
nextFortune in interface FortuneGeneratorpublic Fortune nextFortune(Language language)
nextFortune in interface FortuneGeneratorCopyright © 2017. All rights reserved.