Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.util.*;

public class Main {
    public static List<String> replace(List<String> list, String find, String replace) {
        List<String> l = new ArrayList<String>();
        for (String aList : list) {
            l.add(aList.replaceAll(find, replace));
        }
        return l;
    }
}