public class TemplateTypeMap
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
checkEquivalenceHelper(TemplateTypeMap that,
com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod)
Determines if this map and the specified map have equivalent template
types.
|
com.google.common.collect.ImmutableList<TemplateType> |
getTemplateKeys()
Returns a list of all template keys.
|
JSType |
getTemplateType(TemplateType key)
Returns the JSType value associated with the specified template key.
|
TemplateType |
getTemplateTypeKeyByName(java.lang.String keyName) |
boolean |
hasTemplateKey(TemplateType templateKey)
Returns true if this map contains the specified template key, false
otherwise.
|
boolean |
hasTemplateType(TemplateType key)
Returns true if there is a JSType value associated with the specified
template key; false otherwise.
|
public com.google.common.collect.ImmutableList<TemplateType> getTemplateKeys()
public boolean hasTemplateKey(TemplateType templateKey)
public boolean hasTemplateType(TemplateType key)
public JSType getTemplateType(TemplateType key)
public TemplateType getTemplateTypeKeyByName(java.lang.String keyName)
public boolean checkEquivalenceHelper(TemplateTypeMap that, com.google.javascript.rhino.jstype.EquivalenceMethod eqMethod)