Hello everyone
A little help!
I have a scenario where i need to get the index values of some objects present in the array list and if i use indexof() method of arraylist class it returns me only the first found object index but i have duplicate values in it . So it only return me first object index every time but none other. kindly c the code below :-
I am passing x and c dynamically and there values are 10 and 5 respectively:- here is my output
values in list are :- 3032232144
size of array list is 10
item removed is 3 and it's position is 5
item now present on 5 position is 2
now size of array list in 9
values in list are :- 303222144
index of element is 0
total no of duplicated values are 2
*********it only returned index of first 3 present on second last line of output but no other 3's index and i know thet indexof() method returns only first index so is there any way or any other method call that can solve my problem.*************************************
thanks in advance
[HENRY: Added Code Tags]