次の方法で共有


Pair<Type1,Type2> Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.device.DeviceTwin.Pair<Type1,Type2>

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)

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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