commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1305102&view=rev
Log:
first checkin of Category interface

Added:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java 
 (with props)

Added: 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=1305102&view=auto
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java (added)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java Sun
Mar 25 19:41:22 2012
@@ -0,0 +1,42 @@
+package org.apache.commons.graph.elo;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * A category is used for classification of players.
+ */
+public interface Category<W>
+{
+
+    /**
+     * Returns the category minimum points.
+     *
+     * @return the category minimum points.
+     */
+    W getMinimum();
+
+    /**
+     * Returns the category maximum points.
+     *
+     * @return the category maximum points.
+     */
+    W getMaximum();
+
+}

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message