Class Pair<U,V>

java.lang.Object
org.netxms.base.Pair<U,V>
Type Parameters:
U - first element class
V - second element class

public class Pair<U,V> extends Object
Class pair
  • Constructor Details

    • Pair

      public Pair(U first, V second)
      Constructs a new Pair with the given values.
      Parameters:
      first - the first element
      second - the second element
  • Method Details

    • getFirst

      public U getFirst()
      Returns:
      the first
    • setFirst

      public void setFirst(U first)
      Parameters:
      first - the first to set
    • getSecond

      public V getSecond()
      Returns:
      the second
    • setSecond

      public void setSecond(V second)
      Parameters:
      second - the second to set