Class PrefixSearchTable.Builder<K,V>
java.lang.Object
com.google.mu.collect.PrefixSearchTable.Builder<K,V>
- Enclosing class:
PrefixSearchTable<K,V>
Builder of
PrefixSearchTable.- Since:
- 7.1
-
Method Summary
Modifier and TypeMethodDescriptionAdds the mapping fromcompoundKeytovalue.Adds all ofmappingsinto this builder.build()
-
Method Details
-
add
Adds the mapping fromcompoundKeytovalue.- Returns:
- this builder
- Throws:
IllegalArgumentException- ifcompoundKeyis empty, or it has already been mapped to a value that's not equal tovalue.NullPointerException- ifcompoundKeyis null, any of the key element is null orvalueis null
-
addAll
-
build
-