All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.util.Tuple2 Maven / Gradle / Ivy

There is a newer version: 1.4.6
Show newest version
package org.unlaxer.util;

public class Tuple2{
  public final T _1;
  public final U _2;
  public Tuple2(T t, U u) {
    super();
    this._1 = t;
    this._2 = u;
  }
  
  public U right(){
    
    return _2;
  }
  
  public T left(){
    
    return _1;
  }
  
  public U _2(){
    
    return _2;
  }
  
  public T _1(){
    
    return _1;
  }

  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy