Class ImmutableTticket

  • All Implemented Interfaces:
    ITticket

    public final class ImmutableTticket
    extends java.lang.Object
    implements ITticket
    An immutable implementation of 'ITticket'.
    • Method Detail

      • getContent

        public java.lang.String getContent()
        Specified by:
        getContent in interface ITticket
      • getState

        public java.lang.String getState()
        Specified by:
        getState in interface ITticket
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object