You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Todd Volkert (JIRA)" <ji...@apache.org> on 2009/04/13 19:12:14 UTC

[jira] Resolved: (PIVOT-84) Create Sequence.Tree.Path

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

Todd Volkert resolved PIVOT-84.
-------------------------------

    Resolution: Fixed

> Create Sequence.Tree.Path
> -------------------------
>
>                 Key: PIVOT-84
>                 URL: https://issues.apache.org/jira/browse/PIVOT-84
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-collections, wtk
>    Affects Versions: 1.1
>            Reporter: Todd Volkert
>            Assignee: Todd Volkert
>            Priority: Minor
>             Fix For: 1.2
>
>
> Create the following new class:
> Sequence {
>    Tree {
>        public static class Path implements Sequence<Integer>, Iterable<Integer>;
>    }
> }
> The static methods in Sequence.Tree, and pivot.wtk.TreeView can change from using raw Sequence<Integer> to using Path.  This is not only more explicit, but it allows callers to iterate over the path, whereas Sequence is not iterable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.