java.lang.Object
com.datdeveloper.datmoddingapi.collections.Pair<L,R>
Type Parameters:
L - the type of the left hand
R - the type of the right hand

@Deprecated(since="1.9.0") public class Pair<L,R> extends Object
Deprecated.
Use Pair instead
A simple container for 2 values
  • Constructor Details

    • Pair

      public Pair(L leftHand, R rightHand)
      Deprecated.
      Parameters:
      leftHand - The left hand value of the pair
      rightHand - The right hand value of the pair
  • Method Details

    • getLeftHand

      public L getLeftHand()
      Deprecated.
    • getRightHand

      public R getRightHand()
      Deprecated.
    • setLeftHand

      public void setLeftHand(L leftHand)
      Deprecated.
    • setRightHand

      public void setRightHand(R rightHand)
      Deprecated.