flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uce <...@git.apache.org>
Subject [GitHub] incubator-flink pull request: FIX-FLINK-888-swapValues() for Tuple...
Date Fri, 27 Jun 2014 11:44:19 GMT
Github user uce commented on a diff in the pull request:

    https://github.com/apache/incubator-flink/pull/44#discussion_r14288928
  
    --- Diff: stratosphere-java/src/main/java/eu/stratosphere/api/java/tuple/Tuple2.java ---
    @@ -99,6 +99,15 @@ public void setFields(T0 value0, T1 value1) {
     		this.f1 = value1;
     	}
     
    +	/**
    +	* Returns a shallow copy of the Tuple2 with swapped values.
    +	*
    +	* @return A Tuple2<T1, T0> shallow copy. Value0 and value1 are swapped.
    +	*/
    +	public Tuple2<T1, T0> swapValues() {
    +		// Swap values
    --- End diff --
    
    comment doesn't add any value


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message