I'am using an Integer list. Before adding an element 'x', I need to check if 'x' exists in the list. how can this be implemented
I'am using an Integer list. Before adding an element 'x', I need to check if 'x' exists in the list. how can this be implemented