@ParametersAreNonnullByDefault public final class ListImpl extends SoyAbstractList
SoyValueHelper.convert(java.lang.Object).
Important: Do not use outside of Soy code (treat as superpackage-private).
| Modifier and Type | Field and Description |
|---|---|
protected List<? extends SoyValueProvider> |
providerList
Backing list of providers.
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends SoyValueProvider> |
asJavaList()
Gets a Java list of all value providers in this SoyList.
|
List<SoyValue> |
asResolvedJavaList()
Gets a Java list all values in this SoyList.
|
static ListImpl |
forProviderList(List<? extends SoyValueProvider> providerList)
Creates a Soy list implementation backed by the given map.
|
SoyValueProvider |
getProvider(int index)
Gets a provider of a value of this SoyList.
|
int |
length()
Gets the length of this SoyList.
|
coerceToBoolean, coerceToString, equals, get, getIntegerIndex, getItem, getItemCnt, getItemKeys, getItemProvider, hasItem, renderbooleanValue, floatValue, integerValue, longValue, numberValue, renderAndResolve, resolve, status, stringValueclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbooleanValue, floatValue, integerValue, longValue, numberValue, stringValuerenderAndResolve, resolve, statusprotected final List<? extends SoyValueProvider> providerList
public static ListImpl forProviderList(List<? extends SoyValueProvider> providerList)
public final int length()
SoyList@Nonnull public final List<? extends SoyValueProvider> asJavaList()
SoyList@Nonnull public final List<SoyValue> asResolvedJavaList()
SoyListpublic final SoyValueProvider getProvider(int index)
SoyListindex - The index to get.