public boolean equals()

in cafe/src/main/java/org/apache/camel/example/cafe/OrderItem.java [60:69]


    public boolean equals(Object o) {
        if (o instanceof OrderItem) {
            OrderItem that = (OrderItem)o;
            return ObjectHelper.equal(this.type, that.type) 
                && ObjectHelper.equal(this.order.getNumber(), that.order.getNumber())
                && ObjectHelper.equal(this.iced, that.iced)
                && ObjectHelper.equal(this.shots, that.shots);                 
        }
        return false;
    }