Class Pair<T1,T2>

java.lang.Object
com.frostwire.jlibtorrent.Pair<T1,T2>

public final class Pair<T1,T2> extends Object
Utility function to mirror the C++ std::pair class
  • Field Details

    • first

      public final T1 first
      the first element
    • second

      public final T2 second
      the second element
  • Constructor Details

    • Pair

      public Pair(T1 first, T2 second)
      Parameters:
      first - first element
      second - second element