jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject jena git commit: Update class javadoc.
Date Mon, 10 Aug 2015 10:47:49 GMT
Repository: jena
Updated Branches:
  refs/heads/master 7169c67c8 -> fd5a94ae6


Update class javadoc.

This closes #90.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/fd5a94ae
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/fd5a94ae
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/fd5a94ae

Branch: refs/heads/master
Commit: fd5a94ae61bcd32d2a82cebb6d088d0d81f1da39
Parents: 7169c67
Author: Andy Seaborne <andy@apache.org>
Authored: Mon Aug 10 11:47:32 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Mon Aug 10 11:47:32 2015 +0100

----------------------------------------------------------------------
 .../org/apache/jena/atlas/iterator/Iter.java    |  5 ++++
 .../jena/util/iterator/ExtendedIterator.java    | 26 ++++++++++----------
 2 files changed, 18 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/fd5a94ae/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java b/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
index 3db5d89..bda3ff8 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/iterator/Iter.java
@@ -29,6 +29,11 @@ import java.util.stream.StreamSupport ;
 import org.apache.jena.atlas.lib.Closeable ;
 import org.apache.jena.atlas.lib.Sink ;
 
+/**
+ * Iter provides general utilities for working with {@link Iterator}s.
+ *
+ * @param <T> the type of element over which an instance of Iter iterates
+ */
 public class Iter<T> implements Iterator<T> {
     
     // Most Iterable<T> operations have been removed - use streams instad.

http://git-wip-us.apache.org/repos/asf/jena/blob/fd5a94ae/jena-core/src/main/java/org/apache/jena/util/iterator/ExtendedIterator.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/util/iterator/ExtendedIterator.java b/jena-core/src/main/java/org/apache/jena/util/iterator/ExtendedIterator.java
index 9953286..abfa7e1 100644
--- a/jena-core/src/main/java/org/apache/jena/util/iterator/ExtendedIterator.java
+++ b/jena-core/src/main/java/org/apache/jena/util/iterator/ExtendedIterator.java
@@ -23,19 +23,19 @@ import java.util.function.Function;
 import java.util.function.Predicate;
 
 /**
-    an ExtendedIterator is a ClosableIterator on which other operations are
-    defined for convenience in iterator composition: composition, filtering
-    in, filtering out, and element mapping.
-<br>
-    NOTE that the result of each of these operations consumes the base
-    iterator(s); they do not make independant copies.
-<br>
-    The canonical implementation of ExtendedIterator is NiceIterator, which
-    also defines static methods for these operations that will work on any
-    ClosableIterators.    
-<br>
-*/
-
+ * An ExtendedIterator is a {@link ClosableIterator} on which other operations
+ * are defined for convenience in iterator composition: composition, filtering
+ * in, filtering out, and element mapping.<br>
+ * NOTE that the result of these operations consumes the base iterator(s); they
+ * do not make independent copies. <br>
+ * The canonical implementation of ExtendedIterator is {@link NiceIterator},
+ * which also defines static methods for these operations that will work on any
+ * {@link ClosableIterator}s. <br>
+ * 
+ * @param <T>
+ *            the type of element over which an instance of ExtendedIterator
+ *            iterates
+ */
 public interface ExtendedIterator<T> extends ClosableIterator<T>
     {
     /**


Mime
View raw message