de.hattrickorganizer.prediction
Class RatingPredictionParameter

java.lang.Object
  extended by de.hattrickorganizer.prediction.RatingPredictionParameter
All Implemented Interfaces:
IRatingPredictionParameter

public class RatingPredictionParameter
extends java.lang.Object
implements IRatingPredictionParameter


Field Summary
 
Fields inherited from interface plugins.IRatingPredictionParameter
ALLSIDES, GENERAL, LEFT, MIDDLE, OTHERSIDE, RIGHT, THISSIDE
 
Constructor Summary
RatingPredictionParameter(java.util.Hashtable allProps)
           
 
Method Summary
 java.util.Hashtable getAllSections()
           
 double getParam(java.lang.String key)
           
 double getParam(java.lang.String key, double defVal)
           
 double getParam(java.lang.String section, java.lang.String key)
           
 double getParam(java.lang.String section, java.lang.String key, double defVal)
           
 boolean hasSection(java.lang.String section)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingPredictionParameter

public RatingPredictionParameter(java.util.Hashtable allProps)
Method Detail

hasSection

public boolean hasSection(java.lang.String section)
Specified by:
hasSection in interface IRatingPredictionParameter

getAllSections

public java.util.Hashtable getAllSections()
Specified by:
getAllSections in interface IRatingPredictionParameter

getParam

public double getParam(java.lang.String key)
Specified by:
getParam in interface IRatingPredictionParameter

getParam

public double getParam(java.lang.String key,
                       double defVal)
Specified by:
getParam in interface IRatingPredictionParameter

getParam

public double getParam(java.lang.String section,
                       java.lang.String key)
Specified by:
getParam in interface IRatingPredictionParameter

getParam

public double getParam(java.lang.String section,
                       java.lang.String key,
                       double defVal)
Specified by:
getParam in interface IRatingPredictionParameter