![]() |
Synthia
Generic and flexible data structure generator
|
Object providing a few utility methods to simplify the examples in this project.
Definition at line 30 of file Utilities.java.
Static Public Member Functions | |
| static void | print (PrintStream ps, Object o) |
| Prints an object to a print stream. More... | |
| static void | println (PrintStream ps, Object o) |
| Calls print(PrintStream, Object) and appends a new line. More... | |
| static String | colorGradient (float fraction) |
| Creates a simple 5-color gradient. More... | |
|
static |
Creates a simple 5-color gradient.
| x | A fraction between 0 and 1 |
Definition at line 123 of file Utilities.java.
|
static |
Prints an object to a print stream.
| ps | The print stream to print to |
| o | The object |
Definition at line 37 of file Utilities.java.
|
static |
Calls print(PrintStream, Object) and appends a new line.
| ps | The print stream to print to |
| o | The object |
Definition at line 111 of file Utilities.java.