public final class TemplateVariables extends Object implements Iterable<TemplateVariable>, Serializable
TemplateVariable
.Modifier and Type | Field and Description |
---|---|
static TemplateVariables |
NONE |
Constructor and Description |
---|
TemplateVariables(List<TemplateVariable> variables)
Creates a new
TemplateVariables for the given TemplateVariable s. |
TemplateVariables(TemplateVariable... variables)
Creates a new
TemplateVariables for the given TemplateVariable s. |
Modifier and Type | Method and Description |
---|---|
List<TemplateVariable> |
asList()
Returns the contained
TemplateVariable s as List . |
TemplateVariables |
concat(Collection<TemplateVariable> variables)
Concatenates the given
TemplateVariable s to the current one. |
TemplateVariables |
concat(TemplateVariable... variables)
Concatenates the given
TemplateVariable s to the current one. |
TemplateVariables |
concat(TemplateVariables variables)
Concatenates the given
TemplateVariables to the current one. |
Iterator<TemplateVariable> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final TemplateVariables NONE
public TemplateVariables(TemplateVariable... variables)
TemplateVariables
for the given TemplateVariable
s.variables
- must not be null.public TemplateVariables(List<TemplateVariable> variables)
TemplateVariables
for the given TemplateVariable
s.variables
- must not be null.public TemplateVariables concat(TemplateVariable... variables)
TemplateVariable
s to the current one.variables
- must not be null.public TemplateVariables concat(Collection<TemplateVariable> variables)
TemplateVariable
s to the current one.variables
- must not be null.public TemplateVariables concat(TemplateVariables variables)
TemplateVariables
to the current one.variables
- must not be null.public List<TemplateVariable> asList()
TemplateVariable
s as List
.public Iterator<TemplateVariable> iterator()
iterator
in interface Iterable<TemplateVariable>
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.