Here you can find the source of getFirstRowResults(List> llo, String reason)
Parameter | Description |
---|---|
llo | the llo |
reason | the reason |
public static List<Object> getFirstRowResults(List<List<Object>> llo, String reason)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { /**//from w w w .ja va 2 s . c om * Gets the first row results. * * @param llo the llo * @param reason the reason * @return the first row results */ public static List<Object> getFirstRowResults(List<List<Object>> llo, String reason) { if (llo.size() < 1) throw new RuntimeException("Insufficient row results, " + reason); return llo.get(0); } }