Class Pair<F,S>

java.lang.Object
xyz.dynxsty.dih4jda.util.Pair<F,S>
Type Parameters:
F - The first value.
S - The second value.

public class Pair<F,S> extends Object
A Pair of two elements.
Since:
v1.5.2
  • Constructor Details

    • Pair

      public Pair(@Nonnull F first, @Nonnull S second)
      Creates a new Pair of to Objects.
      Parameters:
      first - the first Object.
      second - the second Object.