public static class TemplateParameterSubstitutions.Empty extends java.lang.Object implements TemplateParameterSubstitutions
TemplateParameterSubstitutions.Empty
EMPTY
Constructor and Description |
---|
Empty() |
Modifier and Type | Method and Description |
---|---|
Type |
get(TemplateParameter templateParameter)
Return the highest common actual type of the formal templateParameter, returning null if unknown.
|
boolean |
isEmpty()
Return true if there are no formal TemplateParameters with actual values.
|
Type |
put(TemplateParameter formalTemplateParameter,
Type actualType)
Install actualType as the resolutions of formalTemplateParameter, returning the highest common type of actualType
and any pre-existing resolution.
|
java.lang.String |
toString() |
@Nullable public Type get(@Nullable TemplateParameter templateParameter)
TemplateParameterSubstitutions
get
in interface TemplateParameterSubstitutions
public boolean isEmpty()
TemplateParameterSubstitutions
isEmpty
in interface TemplateParameterSubstitutions
@NonNull public Type put(@NonNull TemplateParameter formalTemplateParameter, @NonNull Type actualType)
TemplateParameterSubstitutions
put
in interface TemplateParameterSubstitutions
public java.lang.String toString()
toString
in class java.lang.Object