on ‎2007 Feb 25 9:01 PM
HI Group,
In File to File Scenario how to avoid duplicate records
Request clarification before answering.
HI,
I hope you have to write one User defined function ...
Please try
take queue function ..
Vector vProd = new Vector();
for (int i =0;i.<a.length;i++){
if(!vProd.contains(a<i>)) vProd.add(a<i>);
}
Collections.sort(vProd);
for(i=0;i<vProd.size();i++){
result.addValue((String)vProd.get(i));
}
input is String[] a
please let me know if any queries..
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.