@ParametersAreNonnullByDefault public interface SoyMap extends SoyValue
Important: Until this API is more stable and this note is removed, users must not define classes that implement this interface.
| Modifier and Type | Method and Description |
|---|---|
SoyValue |
getItem(SoyValue key)
Gets an item value of this SoyMap.
|
int |
getItemCnt()
Gets the number of items in this SoyMap.
|
Iterable<? extends SoyValue> |
getItemKeys()
Gets an iterable over all item keys in this SoyMap.
|
SoyValueProvider |
getItemProvider(SoyValue key)
Gets a provider of an item value of this SoyMap.
|
boolean |
hasItem(SoyValue key)
Checks whether this SoyMap has an item with the given key.
|
booleanValue, coerceToBoolean, coerceToString, equals, floatValue, integerValue, longValue, numberValue, render, stringValuerenderAndResolve, resolve, statusint getItemCnt()
@Nonnull Iterable<? extends SoyValue> getItemKeys()
boolean hasItem(SoyValue key)
key - The item key to check.SoyValue getItem(SoyValue key)
key - The item key to get.SoyValueProvider getItemProvider(SoyValue key)
key - The item key to get.