Similar Items: Thinking in java.