public function readNext(SerializationStreamReader $reader)
 {
     return $reader->readDouble();
 }
 public static function instantiate(SerializationStreamReader $streamReader)
 {
     return new Double($streamReader->readDouble());
 }
 /**
  * Enter description here...
  * @throws SerializationException
  * 
  * @return Double
  */
 public static function instantiate(SerializationStreamReader $streamReader)
 {
     return FORCE_CAST_TO_PHP_PRIMITIVE_TYPES ? $streamReader->readDouble() : new Double($streamReader->readDouble());
 }
 /**
  * 
  *
  * @param SerializationStreamReader $streamReader
  * @param unknown_type $instance
  * @throws SerializationException
  */
 public static function deserialize(SerializationStreamReader $streamReader, $instance)
 {
     for ($itemIndex = 0; $itemIndex < count($instance); ++$itemIndex) {
         $instance[$itemIndex] = $streamReader->readDouble();
     }
 }