neilcsmith-net commented on pull request #2063:
URL: https://github.com/apache/netbeans/pull/2063#issuecomment-653531480


   As per comment on dev@ if you're looking to shorten the method names (which 
isn't a bad idea) then I'd propose -
   
   ```
   Optional<T> find(Class<T> clazz);
   Stream<T> findAll(Class<T> clazz);
   ```
   
   Yes, I'd also like to see a Stream returning method if we have this, and I 
think `find()` or a similar word mirrors `lookup()` better than `maybe()` does.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to