Java tutorial
//package com.java2s; import java.util.ArrayList; public class Main { public static ArrayList<String> deleteRepeat(ArrayList<String> list) { ArrayList<String> tmp = new ArrayList<String>(); for (String url : list) { if (!tmp.contains(url)) { tmp.add(url); } } return tmp; } }