SimpleIterator Project

Encerrado Postado há 5 anos Pago na entrega
Encerrado 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

Algoritmo Programação C Programação C++ Java Arquitetura de software

ID do Projeto: #18539926

Sobre o projeto

10 propostas Projeto remoto Ativo em há 5 anos

10 freelancers estão ofertando em média $42 nesse trabalho

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 Mais

$30 USD em 1 dia
(1557 Comentários)
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 Mais

$80 USD in 2 dias
(169 Comentários)
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 em 1 dia
(101 Comentários)
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 em 1 dia
(212 Comentários)
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 Mais

$45 USD em 1 dia
(56 Comentários)
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 Mais

$35 USD in 2 dias
(29 Comentários)
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 in 10 dias
(30 Comentários)
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 Mais

$25 USD em 1 dia
(5 Comentários)
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 in 2 dias
(0 Comentários)
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 em 1 dia
(0 Comentários)
0.0