commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1305112 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java
Date Sun, 25 Mar 2012 20:05:52 GMT
Author: simonetripodi
Date: Sun Mar 25 20:05:52 2012
New Revision: 1305112

URL: http://svn.apache.org/viewvc?rev=1305112&view=rev
Log:
let's start with a simple type first, then will be generalized (actual Monoids just support
Addition ATM)

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java?rev=1305112&r1=1305111&r2=1305112&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java Sun
Mar 25 20:05:52 2012
@@ -22,7 +22,7 @@ package org.apache.commons.graph.elo;
 /**
  * A category is used for classification of players.
  */
-public interface Category<W>
+public interface Category
 {
 
     /**
@@ -30,13 +30,13 @@ public interface Category<W>
      *
      * @return the category minimum points.
      */
-    W getMinimum();
+    Double getMinimum();
 
     /**
      * Returns the category maximum points.
      *
      * @return the category maximum points.
      */
-    W getMaximum();
+    Double getMaximum();
 
 }



Mime
View raw message