Here you can find the source of containsAny(final String projectName, final List
public static boolean containsAny(final String projectName, final List<String> indicators)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { public static boolean containsAny(final String projectName, final List<String> indicators) { for (final String indicator : indicators) { if (projectName.toLowerCase().startsWith(indicator.toLowerCase())) { return true; }/* w w w . ja v a 2 s. com*/ } return false; } }