Class RealmEvent

    • Constructor Detail

      • RealmEvent

        protected RealmEvent()
        Construct a new instance.
    • Method Detail

      • accept

        public <P,​R> R accept​(RealmEventVisitor<P,​R> visitor,
                                    P param)
        Accept the given visitor, calling the method which is most applicable to this event type.
        Type Parameters:
        P - the visitor parameter type
        R - the visitor return type
        Parameters:
        visitor - the visitor
        param - the parameter to pass to the visitor handleXxx method
        Returns:
        the value returned from the visitor handleXxx method