T
- the element typepublic static interface LookUpTable.Builder<T>
LookUpTable
.Modifier and Type | Method and Description |
---|---|
void |
add(LookUpKey key,
T value)
Puts a key and value pair.
|
LookUpTable<T> |
build()
Returns a
LookUpTable from previously added key value pairs. |
void add(LookUpKey key, T value) throws IOException
key
- the keyvalue
- the valueIOException
- if error occurred while adding the key value pairIllegalArgumentException
- if some parameters are null
LookUpTable<T> build() throws IOException
LookUpTable
from previously added key value pairs.IOException
- if error occurred while building the tableCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.