SimpleIterator Project

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la 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

Algoritmos Programación en C Programación en C++ Java Arquitectura de software

Nº del proyecto: #18539926

Sobre el proyecto

10 propuestas Proyecto remoto Activo hace 5 años

10 freelancers están ofertando un promedio de $42 por este trabajo

it2051229

Hi there, I do Java programming and I know how to work with Iterators. I went through your initial requirement and I would like to do this project if given the opportunity. Let me know if you are interested so I can ha Más

$30 USD en 1 día
(1557 comentarios)
7.9
hbxfnzwpf

I am very proficient in java. I have 16 years java developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using java under Linux environmen Más

$80 USD en 2 días
(169 comentarios)
7.1
wizard2015

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.

$35 USD en 1 día
(101 comentarios)
6.6
koustav2006

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.

$50 USD en 1 día
(212 comentarios)
6.4
akshayatm

Hi Sir, I am an experienced software developer expert in java ,j2ee , spring,   hibernate orm, webservices,xml xslt, db like technolgies. I can do this. Pls visit my profile for my past works. pls contact for further p Más

$45 USD en 1 día
(56 comentarios)
5.3
icatherinedivya

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 Más

$35 USD en 2 días
(29 comentarios)
5.1
mukesh30march

hi i read all requirement please share the detail i will did similar task i will provide 5 star rating work thanks

$35 USD en 10 días
(30 comentarios)
4.3
gmsltn1

Hi, I have read your job post very carefully. Thank you for this wonderful opportunity. I am very interested to this project. I believe my abilities would be perfect for your venture. I can finish this job within the Más

$25 USD en 1 día
(5 comentarios)
2.5
hafizhamza11

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

$45 USD en 2 días
(0 comentarios)
0.0
elishaebenezer

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.

$35 USD en 1 día
(0 comentarios)
0.0