I have an algorithm written in C and it has code which can be handled by C preprocessor but as there is no preprocessor in java i don't know how to write java code to handle such thing. The C code is
#ifdef Tile_size_utility
#define print_error 0
else
#define print_error 1
#endif
How can i implement this in Java?