MCPcopy Create free account
hub / github.com/apache/freemarker / add

Method add

src/main/java/freemarker/template/SimpleSequence.java:173–176  ·  view source on GitHub ↗

Adds an arbitrary object to the end of this SimpleSequence . If the object itself does not implement the TemplateModel interface, it will be wrapped into an appropriate adapter on the first call to #get(int). @param obj the boolean to be added.

(Object obj)

Source from the content-addressed store, hash-verified

171 * @param obj the boolean to be added.
172 */
173 public void add(Object obj) {
174 list.add(obj);
175 unwrappedList = null;
176 }
177
178 /**
179 * Adds a boolean to the end of this <tt>SimpleSequence</tt>, by

Callers 15

_getAsTemplateModelMethod · 0.95
visitMethod · 0.95
acceptMethod · 0.95
calculateResultMethod · 0.95
initValuesMethod · 0.95
acceptMethod · 0.95
getChildNodesMethod · 0.95
convertArrayMethod · 0.45
SimpleSequenceMethod · 0.45
toListMethod · 0.45
addMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected