1
   2
   3
   4
   5
   6
   7
   8
   9
  10public
  11class Const extends Sequence {
  12  private
  13  long value;
  14
  15  public
  16  Const() {
  17    this(0);
  18  }
  19
  20  public
  21  Const(long value) {
  22    this.value = value;
  23  }
  24
  25  public
  26  long next() {
  27    return value;
  28  }
  29}
  30
  31
  32