RoboticsTeam4904 / standard

Command Based Git Submodule
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

boolean hashcode #137

Closed leijurv closed 7 years ago

leijurv commented 7 years ago

In the JVM, boolean hashcode is implemented as such:

 public static int hashCode(boolean value) {
        return value ? 1231 : 1237;
    }

We can take advantage of this...