Deprecated API


Contents
Deprecated Classes
org.jscience.net.Spider.SMonitor
            
 

Deprecated Fields
javax.measure.unit.SI.METRE_PER_SECOND
          replaced by SI.METRES_PER_SECOND. 
javax.measure.unit.SI.METRE_PER_SQUARE_SECOND
          replaced by SI.METRES_PER_SQUARE_SECOND. 
 

Deprecated Methods
org.jscience.util.Changeable.addChangeListener(ChangeListener)
          use addChangeListener(cl, ChangeType.UNKNOWN) 
org.jscience.ml.cml.cmlimpl.CMLBaseImpl.addTextChild(String)
          use setTextChild instead 
org.jscience.astronomy.solarsystem.SunRelativePosition.compute(double, double, Date)
          Use SunRelativePosition.setCoordinate(double,double) and SunRelativePosition.setDate(Date) instead. 
org.jscience.computing.game.TemplatePlayer.disableTracking()
          use setTracking(boolean enable) instead 
org.jscience.computing.graph.external.JGraphModelAdapter.edit(Map)
          this method will be deleted in the future. Use DefaultGraphModel#edit instead. 
org.jscience.computing.game.TemplatePlayer.enableTracking()
          use setTracking(boolean enable) instead 
org.jscience.mathematics.ArrayMathUtils.equals(int[], int[])
          Use java.util.Arrays instead. 
org.jscience.ml.openmath.OMSymbol.getCD()
          use the getCd method instead. 
org.jscience.ml.sbml.jep.JavaCharStream.getColumn()
            
org.jscience.mathematics.analysis.optimization.VectorialSampleStatistics.getCorrelationMatrix(DoubleSymmetricMatrix)
          as of 2004-03-11, replaced by getCovarianceMatrix. This method has in fact always returned a covariance matrix, not a correlation matrix, so the name of the method has been changed. 
org.jscience.ml.sbml.jep.JavaCharStream.getLine()
            
org.jscience.ml.tigerxml.Sentence.getNoOfNTs()
          As of org.jscience.ml.tigerxml 1.1 - use Sentence.getNTCount() instead. 
org.jscience.ml.tigerxml.Corpus.getNoOfSentences()
          As of org.jscience.ml.tigerxml 1.1 - use Corpus.getSentenceCount() instead. 
org.jscience.ml.tigerxml.Sentence.getNoOfTs()
          As of org.jscience.ml.tigerxml 1.1 - use Sentence.getTCount() instead. 
org.jscience.util.AbstractChangeable.hasListeners()
          use hasListeners(ChangeType) if at all possible 
org.jscience.awt.util.Border.insets()
          for JDK1.1 
org.jscience.computing.graph.graphs.Subgraph.isVerifyIntegrity()
          method will be deleted in future versions. 
org.jscience.util.Changeable.removeChangeListener(ChangeListener)
          use removeChangeListener(cl, ChangeType.UNKNOWN) 
org.jscience.awt.util.Box.reshape(int, int, int, int)
          for JDK1.1 
org.jscience.awt.util.Border.reshape(int, int, int, int)
          for JDK1.1 
org.jscience.awt.util.Box.resize(int, int)
          for JDK1.1 
org.jscience.awt.util.Border.resize(int, int)
          for JDK1.1 
org.jscience.net.Spider.searchWebFor(String[], ArrayList, boolean, int, boolean, List, List, String[], Monitor)
            
org.jscience.net.Spider.searchWebFor(String[], URL, boolean, int, boolean, String[], Monitor)
            
org.jscience.computing.graph.graphs.Subgraph.setVerifyIntegrity(boolean)
          method will be deleted in future versions. verifyIntegrity flag has no effect now. 
org.jscience.swing.Menus.showPropertiesDialog(String, Map, Component, boolean)
          use makePropertiesTable with JOptionPane instead 
org.jscience.linguistics.kif.Formula.textFormat()
            
javax.measure.Measure.valueOf(BigDecimal, Unit)
          DecimalMeasure should be used directly. 
javax.measure.Measure.valueOf(BigDecimal, Unit, MathContext)
          DecimalMeasure should be used directly and MathContext specified explicitly when converting. 
javax.measure.Measure.valueOf(double[], Unit)
          VectorMeasure should be used directly. 
 

Deprecated Constructors
org.jscience.util.ChangeVetoException(Throwable, String)
          use new ChangeVetoException(reason, ex); 
org.jscience.computing.graph.util.ModifiableInteger()
          not really deprecated, just marked so to avoid mistaken use. 
org.jscience.linguistics.kif.StreamTokenizer_s(InputStream)
          As of JDK version 1.1, the preferred way to tokenize an input stream is to convert it into a character stream, for example:
                                                               Reader r = new BufferedReader(new InputStreamReader(is));
                                                               StreamTokenizer_s st = new StreamTokenizer_s(r);