iText 8.0.5 API
iText.Commons.Datastructures.Tuple2< T1, T2 > Class Template Reference

Simple tuple container that holds two elements. More...

Public Member Functions

  Tuple2 (T1 first, T2 second)
  Creates a new instance of Tuple2 with given elements. More...
 
virtual T1  GetFirst ()
  Get the first element. More...
 
virtual T2  GetSecond ()
  Get the second element. More...
 
override String  ToString ()
 

Detailed Description

Simple tuple container that holds two elements.

Template Parameters
T1 type of the first element
T2 type of the second element

Constructor & Destructor Documentation

◆ Tuple2()

iText.Commons.Datastructures.Tuple2< T1, T2 >.Tuple2 ( T1  first,
T2  second 
)
inline

Creates a new instance of Tuple2 with given elements.

Parameters
first the first element
second the second element

Member Function Documentation

◆ GetFirst()

virtual T1 iText.Commons.Datastructures.Tuple2< T1, T2 >.GetFirst ( )
inlinevirtual

Get the first element.

Returns
the first element

◆ GetSecond()

virtual T2 iText.Commons.Datastructures.Tuple2< T1, T2 >.GetSecond ( )
inlinevirtual

Get the second element.

Returns
the second element

◆ ToString()

override String iText.Commons.Datastructures.Tuple2< T1, T2 >.ToString ( )
inline