In this Wolves, Goats and Cabbages in Java question, Java code is presented to solve the problem.
The code requires pre-processing by a third-party tool in order to function.
The third-party tool adds a number of 'template' or 'boilerplate' methods that make the code complete. In Java terms, these are things like getters, setters, toString(), equals(), and hashCode().
Without pre-processing the code, it is:
- full of errors, and will not compile.
- comprehensively broken in 'standard' IDE's like Eclipse, IntelliJ, Netbeans, etc.
In order to pre-precess the code, you need to download the pre-processor, as well as plugins for the various IDEs so that they are modified to accomodate these pre-processor annotions.
These downloads are from a non-official site, and are not part of any standard tool-chain.
##Question:
Is it working code, or is it off-topic?