Class Util.FoundOne

All Implemented Interfaces:
Serializable
Enclosing class:
Util

public static class Util.FoundOne extends ControlFlowException
Exception used to interrupt a tree walk of any kind.
See Also:
  • Field Details

    • NULL

      public static final Util.FoundOne NULL
      Singleton instance. Can be used if you don't care about node.
  • Constructor Details

    • FoundOne

      public FoundOne(@Nullable Object node)
  • Method Details

    • getNode

      @Pure public @Nullable Object getNode()