package

public sealed class Tree {
    protected constructor Tree()
    public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
    public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
    public final fun max(): kotlin.Int
    public final fun maxIsClass(): kotlin.Int
    public final fun maxWithElse(): kotlin.Int
    public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String

    public object Empty : Tree {
        private constructor Empty()
        public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
        public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun max(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun maxIsClass(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun maxWithElse(): kotlin.Int
        public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
    }

    public final class Leaf : Tree {
        public constructor Leaf(/*0*/ x: kotlin.Int)
        public final val x: kotlin.Int
        public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
        public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun max(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun maxIsClass(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun maxWithElse(): kotlin.Int
        public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
    }

    public final class Node : Tree {
        public constructor Node(/*0*/ left: Tree, /*1*/ right: Tree)
        public final val left: Tree
        public final val right: Tree
        public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
        public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun max(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun maxIsClass(): kotlin.Int
        public final override /*1*/ /*fake_override*/ fun maxWithElse(): kotlin.Int
        public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
    }
}

