Lines Matching refs:next
61 private T next;
63 Singleton(T next) {
64 this.next = next;
68 return next!=null;
71 public T next() {
72 T r = next;
73 next = null;
92 public T next() {
93 return filter(core.next());
116 current = apply(core.next());
121 public T next() {
122 return current.next();
133 private T next;
145 while(core.hasNext() && next==null) {
146 next = core.next();
147 if(!matches(next))
148 next = null;
151 return next!=null;
154 public T next() {
155 if(next==null) throw new NoSuchElementException();
156 T r = next;
157 next = null;
191 public T next() {
192 if(first.hasNext()) return first.next();
193 else return second.next();
211 public T next() {