org.simpleflatmapper.jdbc.named.Tuple Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-jdbc Show documentation
Show all versions of sfm-jdbc Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.jdbc.named;
public class Tuple extends Symbol {
private final Symbol word;
private final Symbol[] arguments;
public Tuple(Symbol word, Symbol[] arguments, Position position) {
super(position);
this.word = word;
this.arguments = arguments;
}
public int size() {
return arguments.length;
}
public Symbol getSymbol(int position) {
return arguments[position];
}
}