Added method equals() for comparison in/by Collections