Category Archives: ruby

Ruby ==, hash VS Java equals, hashCode

We should take a look what equals() & hashCode() of Java did for us. We create a simple Java class first. public class Demo { private int i; public Demo(int i) { this.i = i; } } Let test it … Continue reading

Posted in java, ruby | Leave a comment

rubycollect4j – Ruby Collections for Java

As a Ruby programmer, I am fascinating by the friendly APIs which Ruby¬†array & hash provide. As a Java programmer, I am confident with the power and reliability it brings. I tried JRuby and developed few Rails applications. Frankly speaking, … Continue reading

Posted in java, ruby | Tagged , , , | Leave a comment