public class ThrowsBound extends Bound
| Constructor and Description |
|---|
ThrowsBound(InferenceVariable inferenceVariable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isSatisfied(InferenceVariableSubstitution inferenceVariableSubstitution)
A bound is satisfied by an inference variable substitution if, after applying the substitution,
the assertion is true.
|
boolean |
isThrowsBoundOn(InferenceVariable inferenceVariable) |
java.lang.String |
toString() |
java.util.Set<InferenceVariable> |
usedInferenceVariables() |
isADependency, isAnInstantiation, isProperLowerBound, isProperUpperBoundpublic ThrowsBound(InferenceVariable inferenceVariable)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.Set<InferenceVariable> usedInferenceVariables()
usedInferenceVariables in class Boundpublic boolean isSatisfied(InferenceVariableSubstitution inferenceVariableSubstitution)
BoundisSatisfied in class Boundpublic boolean isThrowsBoundOn(InferenceVariable inferenceVariable)