Class PairV>

java.lang.Object
com.itextpdf.commons.utils.PairV>
Type Parameters:
K - key parameter type.
V - value parameter type.

@Deprecated public class PairV> extends Object
Deprecated.
in favour of Tuple2
Class which represents a pair of key and value.
  • Constructor Details

    • Pair

      public Pair (K key, V value)
      Deprecated.
      Creates key-value pair.
      Parameters:
      key - key parameter
      value - value parameter
  • Method Details

    • getKey

      public K getKey()
      Deprecated.
      Gets key parameter.
      Returns:
      key parameter.
    • getValue

      public V getValue()
      Deprecated.
      Gets value parameter.
      Returns:
      value parameter.