Exemplo n.º 1
0
            protected internal override Document FetchNextOrNull()
            {
//JAVA TO C# CONVERTER TODO TASK: Java iterators are only converted within the context of 'while' and 'for' loops:
                if (!ScoreDocs.hasNext())
                {
                    return(null);
                }
//JAVA TO C# CONVERTER TODO TASK: Java iterators are only converted within the context of 'while' and 'for' loops:
                ScoreDocs.next();
                return(CurrentDoc);
            }
Exemplo n.º 2
0
            protected internal override bool FetchNext()
            {
//JAVA TO C# CONVERTER TODO TASK: Java iterators are only converted within the context of 'while' and 'for' loops:
                if (ScoreDocs.hasNext())
                {
//JAVA TO C# CONVERTER TODO TASK: Java iterators are only converted within the context of 'while' and 'for' loops:
                    ScoreDocs.next();
                    Index++;
                    return(CurrentValue != -1 && Next(CurrentValue));
                }
                return(false);
            }