You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/10/27 18:51:04 UTC
svn commit: r830266 - in /incubator/pivot/trunk:
core/src/org/apache/pivot/collections/Sequence.java
wtk/src/org/apache/pivot/wtk/TreeView.java
Author: tvolkert
Date: Tue Oct 27 17:51:04 2009
New Revision: 830266
URL: http://svn.apache.org/viewvc?rev=830266&view=rev
Log:
Renamed traverseDepthFirst() to depthFirstIterator()
Modified:
incubator/pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java
incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java
Modified: incubator/pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java?rev=830266&r1=830265&r2=830266&view=diff
==============================================================================
--- incubator/pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java (original)
+++ incubator/pivot/trunk/core/src/org/apache/pivot/collections/Sequence.java Tue Oct 27 17:51:04 2009
@@ -484,7 +484,7 @@
* Returns an iterator that will perform a depth-first traversal of the
* nested sequence.
*/
- public static <T> ItemIterator<T> taverseDepthFirst(Sequence<T> sequence) {
+ public static <T> ItemIterator<T> depthFirstIterator(Sequence<T> sequence) {
return new DepthFirstItemIterator<T>(sequence);
}
Modified: incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java?rev=830266&r1=830265&r2=830266&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java (original)
+++ incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java Tue Oct 27 17:51:04 2009
@@ -1922,7 +1922,7 @@
@SuppressWarnings("unchecked")
public final void expandAll() {
Sequence.Tree.ItemIterator<Object> itemIterator =
- Sequence.Tree.taverseDepthFirst((List<Object>)treeData);
+ Sequence.Tree.depthFirstIterator((List<Object>)treeData);
while (itemIterator.hasNext()) {
Object node = itemIterator.next();
@@ -1954,7 +1954,7 @@
@SuppressWarnings("unchecked")
public final void collapseAll() {
Sequence.Tree.ItemIterator<Object> itemIterator =
- Sequence.Tree.taverseDepthFirst((List<Object>)treeData);
+ Sequence.Tree.depthFirstIterator((List<Object>)treeData);
while (itemIterator.hasNext()) {
Object node = itemIterator.next();