public boolean hasNext() {if (next == null)next = peek();return next != null;}

public boolean hasNext ( ) { if ( next == null ) next = peek ( ) ; return next != null ; }
public override bool HasNext(){if (this.next == null){this.next = this.Peek();}return this.next != null;}
