Introduction
Here is the source code for Main.java
Source
//package com.java2s;
import java.util.List;
public class Main {
public static boolean listContains(List<String> list, String text) {
for (String elem : list) {
if (text.contains(elem)) {
return true;
}
}
return false;
}
}