public class ConcreteType extends Type
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected AbstractType |
supertype |
| Modifier | Constructor and Description |
|---|---|
protected |
ConcreteType(AbstractType supertype,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSubtypeOf(Type that) |
Type |
join(Type that) |
Type |
meet(Type that) |
Type |
restrict(Type that) |
AbstractType |
supertype() |
String |
toString() |
compareTo, isConsistentSubtypeOf, isConsistentWith, unionWithprotected final AbstractType supertype
protected final String name
protected ConcreteType(AbstractType supertype, String name)
public AbstractType supertype()
public boolean isSubtypeOf(Type that)
isSubtypeOf in class TypeCopyright © 2016–2017. All rights reserved.