Class Pair<L,R>

java.lang.Object
io.github.mqzn.commands.utilities.Pair<L,R>

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

    • of

      public static <L, R> Pair<L,R> of(L left, R right)
    • 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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object