Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Iterable Test(String paramString)
- {
- return new .Test.d__0();
- }
- private final class $Test$d__0
- implements Iterator, Iterable
- {
- private String @Current;
- private int @State;
- private int @HaveNext;
- public final void remove()
- {
- }
- public $Test$d__0()
- {
- }
- public final boolean MoveNext()
- {
- if (this.@State != 0) { if (this.@State != 1) { if (this.@State == 2) break label75; if (this.@State == 3) break label93; return false; } } else {
- this.@State = -1; this.@State = 1; this.@Current = "first"; return true; } this.@State = -1; this.@State = 2;
- this.@Current = ConsoleApp.this; return true; label75: this.@State = -1; this.@State = 3;
- this.@Current = "last"; return true; label93: this.@State = -1; return false;
- }
- public final boolean hasNext()
- {
- if ((this.@HaveNext == 0 ? 1 : 0) != 0)
- if (MoveNext())
- this.@HaveNext = 1;
- else
- this.@HaveNext = 2;
- return this.@HaveNext == 1;
- }
- public final Iterator iterator()
- {
- return this;
- }
- public final Object next()
- {
- if (!hasNext())
- throw new NoSuchElementException();
- this.@HaveNext = 0;
- return this.@Current;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement