Deprecated API


Contents
Deprecated Fields
java.lang.Integer.MAX_RADIX
          use constant in Character 
java.lang.Integer.MIN_RADIX
          use constant in Character 
 

Deprecated Methods
lejos.nxt.addon.RCXLightSensor.activate()
          Use RCXLightSensor.setFloodlight(boolean) with true instead 
java.util.ArrayList.addAll(E[])
          not in JDK 
java.util.ArrayList.addAll(int, E[])
          not in JDK 
java.lang.Integer.digit(char, int)
          use Character.digit(char, int) instead. 
java.lang.Integer.digit(int, int)
          use Character.digit(int, int) instead. 
java.lang.Object.finalize()
          not implemented in leJOS 
lejos.nxt.remote.RemoteMotor.getBlockTacho()
            
lejos.nxt.remote.RemoteMotor.getRotationCount()
            
java.awt.Rectangle.inside(int, int)
           
lejos.nxt.addon.RCXLightSensor.passivate()
          Use RCXLightSensor.setFloodlight(boolean) with false instead 
java.io.DataInputStream.readLine()
          broken in various ways, use BufferedReader.readLine instead 
lejos.nxt.addon.RCXLightSensor.readValue()
          Use RCXLightSensor.getLightValue() instead 
lejos.nxt.remote.RemoteMotor.resetBlockTacho()
            
java.awt.Rectangle.reshape(int, int, int, int)
           
java.awt.Rectangle.resize(int, int)
           
lejos.robotics.navigation.Pilot.setSpeed(int)
          in 0.8, use setTurnSpeed() and setMoveSpeed(). The method was deprecated, as this it requires knowledge of the robots physical construction, which this interface should hide! 
java.io.ByteArrayOutputStream.toString(int)
          use ByteArrayOutputStream.toString(String) instead 
java.lang.Enum.valueOf(Class, String)
          not implemented in leJOS 
 

Deprecated Constructors
java.util.ArrayList(E[])
          not in JDK 
java.io.BufferedWriter(OutputStream)
          use OutputStreamWriter instead. 
lejos.robotics.navigation.SimpleNavigator(float, float, TachoMotor, TachoMotor)
          The correct way is to create the Pilot in advance and to use that in construction of the SimpleNavigator. Otherwise the SimpleNavigator needs to know detail it should not care about! 
lejos.robotics.navigation.SimpleNavigator(float, float, TachoMotor, TachoMotor, boolean)
          The correct way is to create the Pilot in advance and to use that in construction of the SimpleNavigator. Otherwise the SimpleNavigator needs to know detail it should not care about!