Class Pair<L,R>

java.lang.Object
com.ptsmods.mysqlw.Pair<L,R>

public class Pair<L,R> extends Object
  • Constructor Details

    • Pair

      public Pair(L left, R right)
  • Method Details

    • empty

      public static <L, R> Pair<L,R> empty()
    • getLeft

      public L getLeft()
    • getRight

      public R getRight()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object