FileDocCategorySizeDatePackage
DataBlock.javaAPI DocExample459Sun Feb 13 15:59:18 GMT 2000None

DataBlock.java

// File: DataBlock.java
// T Balls : Feb 2000
// Holds 4 parameters and has an overload of toString()

public class DataBlock
{  public DataBlock( int p1, int p2, int p3, int p4 )
   {  this.p1 = p1;
      this.p2 = p2;
      this.p3 = p3;
      this.p4 = p4;
   }
   public int p1;
   public int p2;
   public int p3;
   public int p4;
   public String toString()
   {  return "p1 = " + p1 + "  \tp2 = " + p2 + "  \tp3 = " + p3 + "  \tp4 = " + p4;
   }
}