if (this == otherOb) { return true; } if (!(otherOb instanceof ItemKey)) { return false; } ItemKey other = (ItemKey) otherOb; return (itemNumber == other.itemNumber);
return itemNumber;