ComponentKey
public abstract class ComponentKey<K, V> extends Object
Constructors
Name | Description |
---|---|
public ComponentKey()
|
Methods
key1
public abstract K key1()
Return first key for ComponentKey.
ReturnValue
Name | Description |
---|---|
K
|
key2
public abstract V key2()
Return second key for ComponentKey.
ReturnValue
Name | Description |
---|---|
V
|
of
public static <K, V>ComponentKey<K, V> of(K key1, V key2)
Return the ComponentKey for the combination ofComponentKeyandComponentKey.
Parameters
Name | Description |
---|---|
K key1
|
|
V key2
|
ReturnValue
Name | Description |
---|---|
ComponentKey<K, V>
|
Acts as a Key to hold list of capabilities, which are assigned to combination of Vendor and Product.