mirror of https://github.com/sbt/sbt.git
Define T2 as an interface.
This commit is contained in:
parent
200b351552
commit
121972577d
|
|
@ -1,12 +1,8 @@
|
|||
package xsbti;
|
||||
|
||||
/** Used to pass a pair of values. */
|
||||
public class T2<A1, A2> {
|
||||
public final A1 _1;
|
||||
public final A2 _2;
|
||||
|
||||
public T2(A1 a1, A2 a2) {
|
||||
this._1 = a1;
|
||||
this._2 = a2;
|
||||
}
|
||||
}
|
||||
public interface T2<A1, A2>
|
||||
{
|
||||
public A1 get1();
|
||||
public A2 get2();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue