Package hydra.paths
Class SubtermPath
- java.lang.Object
-
- hydra.paths.SubtermPath
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SubtermPath>
public class SubtermPath extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SubtermPath>
A sequence of subterm steps forming a path through a term- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubtermPath(ConsList<SubtermStep> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SubtermPath other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
-
VALUE
public static final Name VALUE
-
value
public final ConsList<SubtermStep> value
-
-
Constructor Detail
-
SubtermPath
public SubtermPath(ConsList<SubtermStep> value)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(SubtermPath other)
- Specified by:
compareToin interfacejava.lang.Comparable<SubtermPath>
-
-