Interface RecordVisitable<P extends RecordVisitor>

Type Parameters:
P - the inherited interface of consumer side

public interface RecordVisitable<P extends RecordVisitor>
Interface to define the producer side of visitor pattern
Author:
Guillaume CHAUVET
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(P visitor)
    Entry point of visitor consumer side
  • Method Details

    • accept

      void accept(P visitor)
      Entry point of visitor consumer side
      Parameters:
      visitor - the instance of the visitor