Package hydra.paths
Class TypeAttributeLink.ForallParameter
- java.lang.Object
-
- hydra.paths.TypeAttributeLink
-
- hydra.paths.TypeAttributeLink.ForallParameter
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TypeAttributeLink>
- Enclosing class:
- TypeAttributeLink
public static final class TypeAttributeLink.ForallParameter extends TypeAttributeLink implements java.io.Serializable
The type-variable parameter of a universally quantified type- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.paths.TypeAttributeLink
TypeAttributeLink.AnnotatedAnnotation, TypeAttributeLink.ForallParameter, TypeAttributeLink.Literal, TypeAttributeLink.PartialVisitor<R>, TypeAttributeLink.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description Namevalue-
Fields inherited from class hydra.paths.TypeAttributeLink
ANNOTATED_ANNOTATION, FORALL_PARAMETER, LITERAL, TYPE_
-
-
Constructor Summary
Constructors Constructor Description ForallParameter(Name value)Constructs an immutableTypeAttributeLink.ForallParameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(TypeAttributeLink.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(TypeAttributeLink other)booleanequals(java.lang.Object other)inthashCode()inthydraOrdinal()java.lang.StringtoString()
-
-
-
Field Detail
-
value
public final Name value
-
-
Constructor Detail
-
ForallParameter
public ForallParameter(Name value)
Constructs an immutableTypeAttributeLink.ForallParameter.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(TypeAttributeLink other)
- Specified by:
compareToin interfacejava.lang.Comparable<TypeAttributeLink>
-
hydraOrdinal
public int hydraOrdinal()
- Specified by:
hydraOrdinalin classTypeAttributeLink
-
accept
public <R> R accept(TypeAttributeLink.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classTypeAttributeLink
-
-