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

com.squarespace.cldrengine.api.Pair Maven / Gradle / Ivy

The newest version!
package com.squarespace.cldrengine.api;

import lombok.EqualsAndHashCode;
import lombok.Generated;

@Generated
@EqualsAndHashCode
public class Pair {

  public final F _1;
  public final S _2;

  private Pair(F first, S second) {
    this._1 = first;
    this._2 = second;
  }

  public static  Pair of(F first, S second) {
    return new Pair<>(first, second);
  }

  @Override
  public String toString() {
    return "Pair<" + this._1.toString() + ", " + this._2.toString() + ">";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy