Package org.nutz.lang.util

Examples of org.nutz.lang.util.LinkedLongArray


* @author zozoh(zozohtnt@gmail.com)
*/
public class QueryLongCallback implements SqlCallback {

  public Object invoke(Connection conn, ResultSet rs, Sql sql) throws SQLException {
    LinkedLongArray ary = new LinkedLongArray(20);
    while (rs.next())
      ary.push(rs.getLong(1));
    return ary.toArray();
  }
View Full Code Here


* @author zozoh(zozohtnt@gmail.com)
*/
public class QueryLongCallback implements SqlCallback {

    public Object invoke(Connection conn, ResultSet rs, Sql sql) throws SQLException {
        LinkedLongArray ary = new LinkedLongArray(20);
        while (rs.next())
            ary.push(rs.getLong(1));
        return ary.toArray();
    }
View Full Code Here

TOP

Related Classes of org.nutz.lang.util.LinkedLongArray

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.