org.kie.commons.data
K1
- K2
- public class Pair<K1,K2> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Pair.PairEqualsMode |
Constructor and Description |
---|
Pair(K1 k1,
K2 k2)
Creates a new pair using the two keys provided.
|
Pair(K1 k1,
K2 k2,
Pair.PairEqualsMode equalsMode)
Creates a new pair using the two keys provided.
|
public Pair(K1 k1, K2 k2, Pair.PairEqualsMode equalsMode)
k1
- k2
- public static <K1,K2> Pair<K1,K2> newPair(K1 k1, K2 k2)
K1
- K2
- k1
- k2
- public static <K1,K2> Pair<K1,K2> newPair(K1 k1, K2 k2, Pair.PairEqualsMode equalsMode)
K1
- K2
- k1
- k2
- public K1 getK1()
public K2 getK2()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.