class SimpleProbableThreat extends SimpleThreat implements ProbableThreat {

  private final double probability;

  public SimpleProbableThreat(final String name, final int id, final ThreatType threatType,
                              final double probability) {
    super(threatType, id, name);
    this.probability = probability;
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public double probability() {
    return probability;
  }

  @Override
  public String toString() {<FILL_FUNCTION_BODY>}
}

    return "SimpleProbableThreat{"
        + "probability=" + probability
        + "} "
        + super.toString();
  
<methods>public non-sealed void <init>() ,public int id() ,public java.lang.String name() ,public com.iluwatar.filterer.threat.ThreatType type() <variables>private final non-sealed int id,private final non-sealed java.lang.String name,private final non-sealed com.iluwatar.filterer.threat.ThreatType threatType