public class HippopotamusFactory extends Object
Hippopotamus, providing an integer size. The resulting hippopotamus will vary based
on the size provided. Namely, the size will impact the representation of the hippo and also whether the hippo is
hungry hungry. A hungry hungry hippo does not behave differently to a normal hippo, but can be an indication of its
size and ferocity.Hippopotamus.isHungryHungry()| Constructor and Description |
|---|
HippopotamusFactory() |
| Modifier and Type | Method and Description |
|---|---|
Hippopotamus |
build() |
static HippopotamusFactory |
builder() |
static void |
increasePop(jline.console.ConsoleReader console)
Raise population of hippopotamus amphibius within console.
|
HippopotamusFactory |
size(int size) |
public static HippopotamusFactory builder()
public HippopotamusFactory size(int size)
public Hippopotamus build()
public static void increasePop(jline.console.ConsoleReader console)
console - Copyright © 2017 Grakn Labs Ltd. All rights reserved.