commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SANDBOX-366) Move Graph algorithms APIs to fluent APIs
Date Sun, 22 Jan 2012 20:04:39 GMT

     [ https://issues.apache.org/jira/browse/SANDBOX-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simone Tripodi updated SANDBOX-366:
-----------------------------------

    Summary: Move Graph algorithms APIs to fluent APIs  (was: Move Graph algorithms to fluent
APIs)
    
> Move Graph algorithms APIs to fluent APIs
> -----------------------------------------
>
>                 Key: SANDBOX-366
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-366
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Graph
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>
> since the component is still in Sandbox, it is the right chance to move forward and improve
APIs user experience.
> For example, instead of a more "traditional" call
> {code}
> Visit.breadthFirstSearch( Graph<V, E> graph, V source, GraphVisitHandler<V,
E> handler )
> {code}
> we could improve APIs in that way:
> {code}
> on( graph ).visit().from( source ).applyingDepthFirstSearch( new MyHandler<V, E>()
);
> {code}
> making invocations more user friendly - and even fun!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message