Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.List;

public class Main {
    public static String seek(List<String> strings1, List<String> strings2, String content) {
        int idx = strings1.indexOf(content);
        if (idx == -1)
            return null;
        return strings2.get(idx);
    }
}