public class ThrowsBound extends Bound
| Constructor and Description |
|---|
ThrowsBound(InferenceVariable inferenceVariable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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) |
String |
toString() |
Set<InferenceVariable> |
usedInferenceVariables() |
isADependency, isAnInstantiation, isProperLowerBound, isProperUpperBoundpublic ThrowsBound(InferenceVariable inferenceVariable)
public Set<InferenceVariable> usedInferenceVariables()
usedInferenceVariables in class Boundpublic boolean isSatisfied(InferenceVariableSubstitution inferenceVariableSubstitution)
BoundisSatisfied in class Boundpublic boolean isThrowsBoundOn(InferenceVariable inferenceVariable)
Copyright © 2007–2019. All rights reserved.