Class Failure<T>

  • Type Parameters:
    T - the type of the variables
    All Implemented Interfaces:
    java.lang.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.
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      Failure​(T t, double time)
      Constructs a Failure with a given object and a time.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Failure

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