public class Tuple<T1,T2> extends Object
Simple Tuple for .net 2.0
T1: The type of the 1.
T2: The type of the 2.
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> Tuple<T1,T2> |
create(T1 item1,
T2 item2) |
T1 |
getItem1()
Gets or sets the item1.
|
T2 |
getItem2()
Gets or sets the item2.
|
void |
setItem1(T1 value)
Gets or sets the item1.
|
void |
setItem2(T2 value)
Gets or sets the item2.
|
public static <T1,T2> Tuple<T1,T2> create(T1 item1, T2 item2)
public final T1 getItem1()
Gets or sets the item1.
Value: The item1.public void setItem1(T1 value)
Gets or sets the item1.
Value: The item1.public final T2 getItem2()
Gets or sets the item2.
Value: The item2.public final void setItem2(T2 value)
Gets or sets the item2.
Value: The item2.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.