Here you can find the source of getFirstRowMatch(List
public static <T> T[] getFirstRowMatch(List<T[]> list, int columnIndex, T value)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { public static <T> T[] getFirstRowMatch(List<T[]> list, int columnIndex, T value) { for (T[] rows : list) { if (rows[columnIndex].equals(value)) return rows; }//from ww w . java2 s . c o m return null; } }