4546474849505152535455
for (String od : orders) { if (od.equals(name)) re.push(i); i++; } return re.toArray(); } public List<String> getOrders() { return orders; }
6465666768697071727374
public int[] indexesOf(String name) { LinkedIntArray lia = indexes.get(name); if (null == lia) return null; return lia.toArray(); } public Set<String> names() { return indexes.keySet(); }
171819202122232425
public Object invoke(Connection conn, ResultSet rs, Sql sql) throws SQLException { LinkedIntArray ary = new LinkedIntArray(20); while (rs.next()) ary.push(rs.getInt(1)); return ary.toArray(); } }