1 10 package org.jgap; 11 12 18 public abstract class BaseRateCalculator 19 implements IUniversalRateCalculator { 20 21 private static final String CVS_REVISION = "$Revision: 1.2 $"; 22 23 private transient Configuration m_config; 24 25 32 public BaseRateCalculator(Configuration a_config) 33 throws InvalidConfigurationException { 34 if (a_config == null) { 35 throw new InvalidConfigurationException("Configuration must not be null!"); 36 } 37 m_config = a_config; 38 } 39 40 46 public Configuration getConfiguration() { 47 return m_config; 48 } 49 } 50 | Popular Tags |