org.n3r.eql.util.Pair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eql Show documentation
Show all versions of eql Show documentation
a simple wrapper framework for jdbc to seperate sql and java code
package org.n3r.eql.util;
import lombok.Data;
@Data
public class Pair {
public K _1;
public V _2;
public Pair(K _1, V _2) {
this._1 = _1;
this._2 = _2;
}
public static Pair of(K k, V v) {
return new Pair<>(k, v);
}
@Override
public String toString() {
return "{" + _1 + "," + _2 + '}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy