Package hydra.accessors
Class TermAccessor.MapKey
java.lang.Object
hydra.accessors.TermAccessor
hydra.accessors.TermAccessor.MapKey
- All Implemented Interfaces:
Serializable,Comparable<TermAccessor>
- Enclosing class:
- TermAccessor
Access a key in a map by index
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hydra.accessors.TermAccessor
TermAccessor.AnnotatedBody, TermAccessor.ApplicationArgument, TermAccessor.ApplicationFunction, TermAccessor.InjectionTerm, TermAccessor.LambdaBody, TermAccessor.LetBinding, TermAccessor.LetBody, TermAccessor.ListElement, TermAccessor.MapKey, TermAccessor.MapValue, TermAccessor.MaybeTerm, TermAccessor.PartialVisitor<R>, TermAccessor.ProductTerm, TermAccessor.RecordField, TermAccessor.SetElement, TermAccessor.SumTerm, TermAccessor.TypeApplicationTerm, TermAccessor.TypeLambdaBody, TermAccessor.UnionCasesBranch, TermAccessor.UnionCasesDefault, TermAccessor.Visitor<R>, TermAccessor.WrappedTerm -
Field Summary
FieldsFields inherited from class hydra.accessors.TermAccessor
ANNOTATED_BODY, APPLICATION_ARGUMENT, APPLICATION_FUNCTION, INJECTION_TERM, LAMBDA_BODY, LET_BINDING, LET_BODY, LIST_ELEMENT, MAP_KEY, MAP_VALUE, MAYBE_TERM, PRODUCT_TERM, RECORD_FIELD, SET_ELEMENT, SUM_TERM, TYPE_, TYPE_APPLICATION_TERM, TYPE_LAMBDA_BODY, UNION_CASES_BRANCH, UNION_CASES_DEFAULT, WRAPPED_TERM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(TermAccessor.Visitor<R> visitor) intcompareTo(TermAccessor other) booleaninthashCode()
-
Field Details
-
value
-
-
Constructor Details
-
MapKey
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TermAccessor>
-
accept
- Specified by:
acceptin classTermAccessor
-