class CollocatedSetItemKey implements SetItemKey {
    /** */
    private IgniteUuid setId;

    /** */
    @GridToStringInclude(sensitive = true)
    private Object item;

    /** */
    @AffinityKeyMapped
    private int setNameHash;

    /**
     * @param setName Set name.
     * @param setId Set unique ID.
     * @param item Set item.
     */
    public CollocatedSetItemKey(String setName, IgniteUuid setId, Object item) {
        this.setNameHash = setName.hashCode();
        this.setId = setId;
        this.item = item;
    }

    /** {@inheritDoc} */
    @Override public IgniteUuid setId() {
        return setId;
    }

    /** {@inheritDoc} */
    @Override public Object item() {
        return item;
    }

    /** {@inheritDoc} */
    @Override public int hashCode() {<FILL_FUNCTION_BODY>}

    /** {@inheritDoc} */
    @Override public boolean equals(Object o) {
        if (this == o)
            return true;

        if (o == null || getClass() != o.getClass())
            return false;

        CollocatedSetItemKey that = (CollocatedSetItemKey)o;

        return setId.equals(that.setId) && item.equals(that.item);
    }

    /** {@inheritDoc} */
    @Override public String toString() {
        return S.toString(CollocatedSetItemKey.class, this);
    }
}

        int res = setId.hashCode();

        res = 31 * res + item.hashCode();

        return res;
    
<no_super_class>