iText 8.0.5 API
iText.Commons.Utils.Pair< K, V > Class Template Reference

Class which represents a pair of key and value. More...

Public Member Functions

  Pair (K key, V value)
  Creates key-value pair. More...
 
virtual K  GetKey ()
  Gets key parameter. More...
 
virtual V  GetValue ()
  Gets value parameter. More...
 

Detailed Description

Class which represents a pair of key and value.

Template Parameters
K key parameter type.
V value parameter type.

Constructor & Destructor Documentation

◆ Pair()

iText.Commons.Utils.Pair< K, V >.Pair ( key,
value 
)
inline

Creates key-value pair.

Parameters
key key parameter
value value parameter

Member Function Documentation

◆ GetKey()

virtual K iText.Commons.Utils.Pair< K, V >.GetKey ( )
inlinevirtual

Gets key parameter.

Returns
key parameter.

◆ GetValue()

virtual V iText.Commons.Utils.Pair< K, V >.GetValue ( )
inlinevirtual

Gets value parameter.

Returns
value parameter.