Class BaseTryBlock<EH extends ExceptionHandler>

    • Constructor Detail

      • BaseTryBlock

        public BaseTryBlock()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Description copied from interface: TryBlock
        Compares this TryBlock to another TryBlock for equality. This TryBlock is equal to another TryBlock if all 3 fields are equal. The exception handlers are tested for equality using the usual List equality semantics.
        Specified by:
        equals in interface TryBlock<EH extends ExceptionHandler>
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - The object to be compared for equality with this TryBlock
        Returns:
        true if the specified object is equal to this TryBlock