jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1158354 - /incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/data/DataBag.java
Date Tue, 16 Aug 2011 16:27:14 GMT
Author: andy
Date: Tue Aug 16 16:27:14 2011
New Revision: 1158354

URL: http://svn.apache.org/viewvc?rev=1158354&view=rev
Log:
A little light renaming.

Modified:
    incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/data/DataBag.java

Modified: incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/data/DataBag.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/data/DataBag.java?rev=1158354&r1=1158353&r2=1158354&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/data/DataBag.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/data/DataBag.java Tue Aug 16 16:27:14
2011
@@ -52,7 +52,7 @@ import org.openjena.atlas.lib.Sink;
  * Inspired by Apache Pig
  * @see <a href="http://svn.apache.org/repos/asf/pig/tags/release-0.9.0/src/org/apache/pig/data/DataBag.java">DataBag
from Apache Pig</a>
  */
-public interface DataBag<Tuple> extends Sink<Tuple>, Iterable<Tuple>, Closeable
+public interface DataBag<T> extends Sink<T>, Iterable<T>, Closeable
 {
     /**
      * Get the number of elements in the bag, both in memory and on disk.
@@ -76,17 +76,17 @@ public interface DataBag<Tuple> extends 
      * Add a tuple to the bag.
      * @param t tuple to add.
      */
-    void add(Tuple t);
+    void add(T t);
 
     /**
      * Add contents of an Iterable to the bag.
      * @param it iterable to add contents of.
      */
-    void addAll(Iterable<? extends Tuple> it);
+    void addAll(Iterable<? extends T> it);
     
     /**
      * Add contents of an Iterator to the bag.
      * @param it iterator to add contents of.
      */
-    void addAll(Iterator<? extends Tuple> it);
+    void addAll(Iterator<? extends T> it);
 }



Mime
View raw message