| Package | Description |
|---|---|
| org.nlpcn.commons.lang.util.tuples |
| Modifier and Type | Method and Description |
|---|---|
static <X> KeyValue<X,X> |
KeyValue.fromArray(X[] array)
Create tuple from array.
|
static <X> KeyValue<X,X> |
KeyValue.fromCollection(Collection<X> collection) |
static <X> KeyValue<X,X> |
KeyValue.fromIterable(Iterable<X> iterable) |
static <X> KeyValue<X,X> |
KeyValue.fromIterable(Iterable<X> iterable,
int index) |
<X> KeyValue<X,B> |
KeyValue.setKey(X key) |
<Y> KeyValue<A,Y> |
KeyValue.setValue(Y value) |
static <A,B> KeyValue<A,B> |
KeyValue.with(A key,
B value) |
Copyright © 2017. All rights reserved.