T - the type of the elements of the returned list.public class NamedListBuilder<T> extends Object
NamedList.| Constructor and Description |
|---|
NamedListBuilder()
Creates a new Builder instance.
|
| Modifier and Type | Method and Description |
|---|---|
NamedListBuilder |
add(String name,
T value)
Adds the given name-value pair to the end of the named list constructed by this builder.
|
org.apache.solr.common.util.NamedList<T> |
build()
Returns the named list constructed by this builder.
|
public NamedListBuilder add(String name, T value)
public org.apache.solr.common.util.NamedList<T> build()
Copyright © 2020. All rights reserved.