sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1405061 - /sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/DerivedIterator.java
Date Fri, 02 Nov 2012 17:14:26 GMT
Author: desruisseaux
Date: Fri Nov  2 17:14:26 2012
New Revision: 1405061

URL: http://svn.apache.org/viewvc?rev=1405061&view=rev
Log:
Use consistent symbols (forgot to include this change in the previous commit).

Modified:
    sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/DerivedIterator.java

Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/DerivedIterator.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/DerivedIterator.java?rev=1405061&r1=1405060&r2=1405061&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/DerivedIterator.java
(original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/DerivedIterator.java
Fri Nov  2 17:14:26 2012
@@ -26,7 +26,7 @@ import org.apache.sis.util.ObjectConvert
  * If a value is converted into a null value, then this iterator skips that value.
  * Consequently this iterator can not returns null value.
  *
- * @param <B> The type of elements in the backing set.
+ * @param <S> The type of elements in the storage collection.
  * @param <E> The type of elements in this set.
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
@@ -35,16 +35,16 @@ import org.apache.sis.util.ObjectConvert
  * @module
  */
 @Decorator(Iterator.class)
-final class DerivedIterator<B,E> implements Iterator<E> {
+final class DerivedIterator<S,E> implements Iterator<E> {
     /**
      * The original iterator to wrap.
      */
-    private final Iterator<B> iterator;
+    private final Iterator<S> iterator;
 
     /**
      * The converter from the original values to the converted values.
      */
-    private final ObjectConverter<B,E> converter;
+    private final ObjectConverter<S,E> converter;
 
     /**
      * The next element to be returned, or {@code null}.
@@ -55,7 +55,7 @@ final class DerivedIterator<B,E> impleme
      * Creates a new iterator wrapping the given original iterator and converting the
      * values using the given converter.
      */
-    DerivedIterator(final Iterator<B> iterator, ObjectConverter<B,E> converter)
{
+    DerivedIterator(final Iterator<S> iterator, ObjectConverter<S,E> converter)
{
         this.iterator  = iterator;
         this.converter = converter;
     }



Mime
View raw message