Package org.netxms.base
Class Pair<U,V>
java.lang.Object
org.netxms.base.Pair<U,V>
- Type Parameters:
U
- first element classV
- second element class
Class pair
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Pair
Constructs a newPair
with the given values.- Parameters:
first
- the first elementsecond
- the second element
-
-
Method Details
-
getFirst
- Returns:
- the first
-
setFirst
- Parameters:
first
- the first to set
-
getSecond
- Returns:
- the second
-
setSecond
- Parameters:
second
- the second to set
-