You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2012/03/25 21:41:22 UTC
svn commit: r1305102 -
/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/elo/Category.java
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