public class Lookups extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Lookups.LookupBuilder<FROM,TO>
Builder for Lookup.
|
| Constructor and Description |
|---|
Lookups() |
| Modifier and Type | Method and Description |
|---|---|
static <FROM,TO> Lookup<TO,FROM> |
inverse(Lookup<FROM,TO> lookup)
Inverse an existing lookup table.
|
static <FROM,TO> Lookups.LookupBuilder<FROM,TO> |
map(FROM fromValue,
TO toValue)
Build a lookup table, providing initial values.
|
public static <FROM,TO> Lookups.LookupBuilder<FROM,TO> map(FROM fromValue, TO toValue)
fromValue - initial from value.toValue - initial to value.Copyright © 2015. All rights reserved.