|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.github.fge.uritemplate.vars.values.ListValue.Builder
@NotThreadSafe public static final class ListValue.Builder
Builder class for a ListValue
Method Summary | ||
---|---|---|
ListValue.Builder |
add(Object first,
Object... other)
Add a series of elements to this list |
|
|
addAll(Iterable<T> iterable)
Add elements from an iterable (list, set, other) |
|
VariableValue |
build()
Build the value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ListValue.Builder add(Object first, Object... other)
first
- first elementother
- other elements, if any
NullPointerException
- one argument at least is nullpublic <T> ListValue.Builder addAll(Iterable<T> iterable)
T
- type of elements in the iterableiterable
- the iterable
NullPointerException
- the iterable is null, or one of its
elements is nullpublic VariableValue build()
VariableValue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |