Package hydra.variants
Class TypeVariant.Literal
java.lang.Object
hydra.variants.TypeVariant
hydra.variants.TypeVariant.Literal
- All Implemented Interfaces:
Serializable,Comparable<TypeVariant>
- Enclosing class:
- TypeVariant
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hydra.variants.TypeVariant
TypeVariant.Annotated, TypeVariant.Application, TypeVariant.Either, TypeVariant.Forall, TypeVariant.Function, TypeVariant.List, TypeVariant.Literal, TypeVariant.Map, TypeVariant.Maybe, TypeVariant.Pair, TypeVariant.PartialVisitor<R>, TypeVariant.Record, TypeVariant.Set, TypeVariant.Union, TypeVariant.Unit, TypeVariant.Variable, TypeVariant.Visitor<R>, TypeVariant.Wrap -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(TypeVariant.Visitor<R> visitor) intcompareTo(TypeVariant other) booleaninthashCode()
-
Constructor Details
-
Literal
public Literal()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TypeVariant>
-
accept
- Specified by:
acceptin classTypeVariant
-