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(TypeVariable tvType) |
Set<Map.Entry<TypeVariable,manifold.rt.api.util.Pair<Type,Boolean>>> |
entrySet() |
Type |
get(TypeVariable tvType) |
<E> Type |
getByMatcher(E tv,
TypeVarToTypeMap.ITypeVarMatcher<E> matcher) |
Type |
getByString(String tv) |
manifold.rt.api.util.Pair<Type,Boolean> |
getPair(TypeVariable tvType) |
boolean |
isEmpty() |
boolean |
isInferredForCovariance(TypeVariable tv) |
boolean |
isReparsing() |
boolean |
isStructural() |
Set<TypeVariable> |
keySet() |
Type |
put(TypeVariable tvType,
Type type) |
Type |
put(TypeVariable tvType,
Type type,
boolean bReverse) |
void |
putAll(TypeVarToTypeMap from) |
void |
putAllAndInferred(TypeVarToTypeMap from) |
Type |
remove(TypeVariable tvType) |
void |
setInferredForCovariance(TypeVariable tv) |
void |
setReparsing(boolean bReparsing) |
void |
setStructural(boolean bStructural) |
int |
size() |
Collection<manifold.rt.api.util.Pair<Type,Boolean>> |
values() |
public static final TypeVarToTypeMap EMPTY_MAP
public TypeVarToTypeMap()
public TypeVarToTypeMap(TypeVarToTypeMap from)
public Type get(TypeVariable tvType)
public manifold.rt.api.util.Pair<Type,Boolean> getPair(TypeVariable tvType)
public <E> Type getByMatcher(E tv, TypeVarToTypeMap.ITypeVarMatcher<E> matcher)
public boolean containsKey(TypeVariable tvType)
public Type put(TypeVariable tvType, Type type)
public Type put(TypeVariable tvType, Type type, boolean bReverse)
public void putAll(TypeVarToTypeMap from)
public void putAllAndInferred(TypeVarToTypeMap from)
public boolean isEmpty()
public int size()
public Set<TypeVariable> keySet()
public Set<Map.Entry<TypeVariable,manifold.rt.api.util.Pair<Type,Boolean>>> entrySet()
public Type remove(TypeVariable tvType)
public Collection<manifold.rt.api.util.Pair<Type,Boolean>> values()
public boolean isStructural()
public void setStructural(boolean bStructural)
public boolean isInferredForCovariance(TypeVariable tv)
public void setInferredForCovariance(TypeVariable tv)
public boolean isReparsing()
public void setReparsing(boolean bReparsing)
Copyright © 2024. All rights reserved.