A InputIterator over a sequence of Inputs.
Inheritance: IInputIterator
 public void TestEmpty()
 {
     InputArrayIterator iterator = new InputArrayIterator(new Input[0]);
     IInputIterator wrapper = new SortedInputIterator(iterator, BytesRef.UTF8SortedAsUnicodeComparer);
     assertNull(wrapper.Next());
     wrapper = new UnsortedInputIterator(iterator);
     assertNull(wrapper.Next());
 }
Esempio n. 2
0
        public void TestEmpty()
        {
            InputArrayIterator iterator = new InputArrayIterator(new Input[0]);
            IInputIterator     wrapper  = new SortedInputIterator(iterator, BytesRef.UTF8SortedAsUnicodeComparer);

            assertNull(wrapper.Next());
            wrapper = new UnsortedInputIterator(iterator);
            assertNull(wrapper.Next());
        }