public boolean isThrowsBoundOn(InferenceVariable inferenceVariable) { return inferenceVariable.equals(this.inferenceVariable); } }
public boolean isThrowsBoundOn(InferenceVariable inferenceVariable) { return inferenceVariable.equals(this.inferenceVariable); } }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ThrowsBound that = (ThrowsBound) o; return inferenceVariable.equals(that.inferenceVariable); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ThrowsBound that = (ThrowsBound) o; return inferenceVariable.equals(that.inferenceVariable); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ThrowsBound that = (ThrowsBound) o; return inferenceVariable.equals(that.inferenceVariable); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ProperUpperBound that = (ProperUpperBound) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Instantiation that = (Instantiation) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ProperLowerBound that = (ProperLowerBound) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Instantiation that = (Instantiation) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Instantiation that = (Instantiation) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ProperLowerBound that = (ProperLowerBound) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ProperUpperBound that = (ProperUpperBound) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ProperUpperBound that = (ProperUpperBound) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ProperLowerBound that = (ProperLowerBound) o; if (!inferenceVariable.equals(that.inferenceVariable)) return false; return properType.equals(that.properType); }
Optional<ProperLowerBound> isProperLowerBoundFor(InferenceVariable inferenceVariable) { Optional<ProperLowerBound> partial = isProperLowerBound(); if (partial.isPresent() && partial.get().getInferenceVariable().equals(inferenceVariable)) { return partial; } else { return Optional.empty(); } }
Optional<ProperUpperBound> isProperUpperBoundFor(InferenceVariable inferenceVariable) { Optional<ProperUpperBound> partial = isProperUpperBound(); if (partial.isPresent() && partial.get().getInferenceVariable().equals(inferenceVariable)) { return partial; } else { return Optional.empty(); } }
Optional<ProperUpperBound> isProperUpperBoundFor(InferenceVariable inferenceVariable) { Optional<ProperUpperBound> partial = isProperUpperBound(); if (partial.isPresent() && partial.get().getInferenceVariable().equals(inferenceVariable)) { return partial; } else { return Optional.empty(); } }
Optional<ProperLowerBound> isProperLowerBoundFor(InferenceVariable inferenceVariable) { Optional<ProperLowerBound> partial = isProperLowerBound(); if (partial.isPresent() && partial.get().getInferenceVariable().equals(inferenceVariable)) { return partial; } else { return Optional.empty(); } }
Optional<ProperUpperBound> isProperUpperBoundFor(InferenceVariable inferenceVariable) { Optional<ProperUpperBound> partial = isProperUpperBound(); if (partial.isPresent() && partial.get().getInferenceVariable().equals(inferenceVariable)) { return partial; } else { return Optional.empty(); } }
Optional<ProperLowerBound> isProperLowerBoundFor(InferenceVariable inferenceVariable) { Optional<ProperLowerBound> partial = isProperLowerBound(); if (partial.isPresent() && partial.get().getInferenceVariable().equals(inferenceVariable)) { return partial; } else { return Optional.empty(); } }