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

com.spun.util.Tuple3 Maven / Gradle / Ivy

There is a newer version: 24.9.0
Show newest version
package com.spun.util;

public class Tuple3
{
  private final H first;
  private final K second;
  private final L third;
  public Tuple3(H first, K second, L third)
  {
    this.first = first;
    this.second = second;
    this.third = third;
  }
  public H getFirst()
  {
    return first;
  }
  public K getSecond()
  {
    return second;
  }
  public L getThird()
  {
    return third;
  }
  @Override
  public String toString()
  {
    return String.format("<%s,%s,%s>", first, second, third);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy