public class TypeJudgement
extends java.lang.Object
Constructor and Description |
---|
TypeJudgement(IInputKey inputKey,
Tuple variablesTuple) |
Modifier and Type | Method and Description |
---|---|
PConstraint |
createConstraintFor(PBody pBody)
Creates this judgement as a direct type constraint in the given PBody under construction.
|
boolean |
equals(java.lang.Object obj) |
com.google.common.collect.SetMultimap<TypeJudgement,TypeJudgement> |
getConditionalImpliedJudgements(IQueryMetaContext context) |
java.util.Set<TypeJudgement> |
getDirectlyImpliedJudgements(IQueryMetaContext context) |
IInputKey |
getInputKey() |
Tuple |
getVariablesTuple() |
java.util.Set<TypeJudgement> |
getWeakenedAlternativeJudgements(IQueryMetaContext context) |
int |
hashCode() |
java.lang.String |
toString() |
public IInputKey getInputKey()
public Tuple getVariablesTuple()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.Set<TypeJudgement> getDirectlyImpliedJudgements(IQueryMetaContext context)
public java.util.Set<TypeJudgement> getWeakenedAlternativeJudgements(IQueryMetaContext context)
public com.google.common.collect.SetMultimap<TypeJudgement,TypeJudgement> getConditionalImpliedJudgements(IQueryMetaContext context)
public java.lang.String toString()
toString
in class java.lang.Object
public PConstraint createConstraintFor(PBody pBody)
pre: the variables tuple must be formed of variables of that PBody.