Class PairV>

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

public class PairV> extends Object
Class which represents a pair of key and value.
  • Constructor Details

    • Pair

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

    • getKey

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

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