content: package com.akto.util;
  
  import java.util.Objects;
  
  public class Pair<U, V> {
  
      private U first;
      private V second;
  
      public Pair() {
      }
  
      public Pair(U first, V second) {
          this.first = first;
          this.second = second;
      }
  
      public U getFirst() {
          return this.first;
      }
  
      public void setFirst(U first) {
          this.first = first;
      }
  
      public V getSecond() {
          return this.second;
      }
  
      public void setSecond(V second) {
          this.second = second;
      }
  
      @Override
      public boolean equals(Object o) {
          if (o == this)
              return true;
          if (!(o instanceof Pair)) {
              return false;
          }
          Pair<U, V> pair = (Pair<U, V>) o;
          return Objects.equals(first, pair.first) && Objects.equals(second, pair.second);
      }
  
      @Override
      public int hashCode() {
          return Objects.hash(first, second);
      }
  
      @Override
      public String toString() {
          return "{" +
              " first='" + getFirst() + "'" +
              ", second='" + getSecond() + "'" +
              "}";
      }
  
  
      
  }
  