public class TypeVarToTypeMap extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TypeVarToTypeMap.ITypeVarMatcher<E> |
| Modifier and Type | Field and Description |
|---|---|
static TypeVarToTypeMap |
EMPTY_MAP |
| Constructor and Description |
|---|
TypeVarToTypeMap() |
TypeVarToTypeMap(TypeVarToTypeMap from) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(ITypeVariableType tvType) |
Set<Map.Entry<ITypeVariableType,IType>> |
entrySet() |
IType |
get(ITypeVariableType tvType) |
<E> IType |
getByMatcher(E tv,
TypeVarToTypeMap.ITypeVarMatcher<E> matcher) |
IType |
getByString(String tv) |
boolean |
isEmpty() |
boolean |
isInferredForCovariance(ITypeVariableType tv) |
boolean |
isStructural() |
Set<ITypeVariableType> |
keySet() |
IType |
put(ITypeVariableType tvType,
IType type) |
void |
putAll(TypeVarToTypeMap from) |
void |
putAllAndInferred(TypeVarToTypeMap from) |
IType |
remove(ITypeVariableType tvType) |
void |
setInferredForCovariance(ITypeVariableType tv) |
void |
setStructural(boolean bStructural) |
int |
size() |
Collection<IType> |
values() |
public static final TypeVarToTypeMap EMPTY_MAP
public TypeVarToTypeMap()
public TypeVarToTypeMap(TypeVarToTypeMap from)
public IType get(ITypeVariableType tvType)
public <E> IType getByMatcher(E tv, TypeVarToTypeMap.ITypeVarMatcher<E> matcher)
public boolean containsKey(ITypeVariableType tvType)
public IType put(ITypeVariableType tvType, IType type)
public void putAll(TypeVarToTypeMap from)
public void putAllAndInferred(TypeVarToTypeMap from)
public boolean isEmpty()
public int size()
public Set<ITypeVariableType> keySet()
public Set<Map.Entry<ITypeVariableType,IType>> entrySet()
public IType remove(ITypeVariableType tvType)
public Collection<IType> values()
public boolean isStructural()
public void setStructural(boolean bStructural)
public boolean isInferredForCovariance(ITypeVariableType tv)
public void setInferredForCovariance(ITypeVariableType tv)
Copyright © 2022. All rights reserved.