getUses and setUses MUST get and set the same values

When I given an array of uses from method getUses, I cannot use this array for method setUses