FileDocCategorySizeDatePackage
DoubleFilter.javaAPI DocExample508Sun Mar 28 19:06:30 BST 1999com.macfaq.io

DoubleFilter

public class DoubleFilter extends DataFilter

Fields Summary
Constructors Summary
public DoubleFilter(DataInputStream din)

    super(din);
  
Methods Summary
protected voidfill()

  
    double number = din.readDouble();
    String s = Double.toString(number) 
     + System.getProperty("line.separator", "\r\n");
    byte[] b = s.getBytes("8859_1");
    buf = new int[b.length];
    for (int i = 0; i < b.length; i++) {
      buf[i] = b[i];
    }