public void visit(Visitable visitable) {
    StreamSupport.stream(this.spliterator(), false).forEach(visitor -> visitor.visit(visitable));
  }
public void visit ( Visitable visitable ) { StreamSupport . stream ( this . spliterator ( ) , false ) . forEach ( visitor -> visitor . visit ( visitable ) ) ; }
Visits the given Visitable object in order to carryout some function or investigation of the targeted object.

@param visitable the Visitable object visited by this Visitor.