code: public <T> void executeOnSome
              (final Optional<T> optional,
               final Closure<T> closure)
          {
          final OptionalVisitor<Void,T> visitor =
                  new OptionalVisitor<Void,T> ()
              {
              public Void visitNone
                      (final None<T> none)
                  {
                  // Do nothing.
                  return null;
                  }
              
              public Void visitSome
                      (final Some<T> some)
                  {
                  closure.execute (some.object ());
                  return null;
                  }
              };
              
          optional.accept (visitor);
          }
docs: {@inheritDoc}