You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DataGenerator.java 321B

1234567891011121314
  1. //package info.unterstein.hagen.moderne.ea6.a3;
  2. public class DataGenerator {
  3. private static final int MAGIC_NUMBER = 23;
  4. public Integer getData(Integer i) {
  5. try {
  6. Thread.sleep(100);
  7. } catch (InterruptedException ex) {
  8. }
  9. return new Integer(i * MAGIC_NUMBER);
  10. }
  11. }