Pair<Type1,Type2> Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. twin. Pair<Type1,Type2>
- com.
Type Parameters
- Type1
- Type2
public class Pair<Type1,Type2>
Constructor Summary
Constructor | Description | |
---|---|---|
Pair(Type1 t1, Type2 t2) |
Method Summary
Modifier and Type | Method and Description |
---|---|
Type1 | getKey() |
Type2 | getValue() |
Type2 | setValue(Type2 newValue) |
Constructor Details
Pair
public Pair(Type1 t1, Type2 t2)
Parameters:
t1
t2
Method Details
getKey
public Type1 getKey()
getValue
public Type2 getValue()
setValue
public Type2 setValue(Type2 newValue)
Parameters:
newValue
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java