some code samples, various examples of simple modeling ideas and some minor algorithms.

UseIO.java 517B

1234567891011121314151617181920212223242526
  1. /**
  2. * Write a description of class UseIO here.
  3. *
  4. * @author (your name)
  5. * @version (a version number or a date)
  6. */
  7. public class UseIO
  8. {
  9. // instance variables - replace the example below with your own
  10. TextIO test = new TextIO();
  11. public UseIO(){};
  12. public String lazyWriteDouble(double number, int align, int frac){
  13. return test.writeDouble(number,align,frac);
  14. }
  15. public String lazyWriteInt(int number, int align){
  16. return test.writeInt(number,align);
  17. }
  18. }