Class Failure<T>

java.lang.Object
org.jreliability.common.Occurrence<T>
org.jreliability.common.Failure<T>
Type Parameters:
T - the type of the variables
All Implemented Interfaces:
Comparable<Occurrence<T>>

public class Failure<T> extends Occurrence<T>
The Failure represents the occurrence of a failure of an object and delivers the time of the failure as the information.
  • Constructor Details

    • Failure

      public Failure(T t, double time)
      Constructs a Failure with a given object and a time.
      Parameters:
      t - the object
      time - the time