SimpleIterator Project
$10-50 USD
Pago na entrega
Implement an alternating iterator supporting the methods below. You can use any jre APIs needed, but please no external libraries for the implementation.
public class AlternatingIterator<E> implements Iterator {
public AlternatingIterator(Iterator<E> … iterators) {
public boolean hasNext(){…}
public E next() {…}
}
The AlternatingIterator should alternate in order between the iterators it receives in its constructor. For example if constructed with three iterators [a,b,c], [1,2] and [x,y,z], the iterator should produce the elements in this order ‘a, 1, x, b, 2, y, c, z’
Write unit tests for the ‘hasNext’ and ‘next’ methods
ID do Projeto: #18539926
Sobre o projeto
10 freelancers estão ofertando em média $42 nesse trabalho
Hi, I am experienced Java programmer and I can implement such iterator in Java for you. You can just add verified payment method to your account and award project to me after that.
HI...I am proficient in core Java programming with good understanding of java iterators and can help you implement the alternating iterators from given list of iterators as per example.
Hi I just gave my interviews with Google, Amazon and Uber and I have a pretty good understanding of C++. Some of my C/C++ projects and got good reviews: https://www.freelancer.com/projects/software-architectur Mais
hi i read all requirement please share the detail i will did similar task i will provide 5 star rating work thanks
hey! I think I can help you with this. I have enough logical skills to do this work. Please message me so that we can discuss more about this. Thanks Hafiz Hamza
Assuming you are requiring a Forward-Only iterator, this can be developed in a couple of hours. Please reach out for detailing out the design and taking this forward.