Find Jobs
Hire Freelancers

Analyze some Data

$30-250 USD

Concluído
Publicado há mais de 7 anos

$30-250 USD

Pago na entrega
Extend Project 1 to use advanced data structures and support sorting on various keys. Elaboration: Required data structure - the data structure specified in Project 1: World has SeaPort's SeaPort has Dock's, Ship's, and Person's Dock has a Ship Ship has Job's PassengerShip CargoShip Person has a skill Job requires skills - optional until Project 3 PortTime Use the HashMap class to support efficient linking of the classes used in Project 1. The instances of the hash map class should be local to the readFile (Scanner) method. These instances should be passed as explicit parameters to other methods used when reading the data file. For example, the body of the methods like the following should be replaced to effectively use a <Integer, Ship> hash map, the surrounding code needs to support this structure: Ship getShipByIndex (int x, [login to view URL] <Integer, Ship> hms) { return [login to view URL](x); } // end getDockByIndex Since the body of this method has become trivial, perhaps the call to this method can be simply replaced by the get method of the HashMap. Your code should be sure to handle a null return from this call gracefully. The instances should be released (go out of scope, hence available for garbage collection) when the readFile method returns. Comments: The idea here, besides getting some experience with an interesting JDK Collections class, is to change the operation of searching for an item with a particular index from an O(N) operation, ie searching through the entire data structure to see if the code can find the parent index parameter, to an O(1) operation, a hash map lookup. Of course, this isn't so very interesting in such a small program, but consider what might happen with hundreds of ports, thousands of ships, and perhaps millions of persons and jobs. Comments: Also, after the readFile operation, the indices are no longer interesting, and could be completely eliminated from the program. In this program, removing the index references could be accomplished by removing those variables from the parent class, Thing. Implement comparators to support sorting: ships in port que ArrayList's by weight, length, width, draft within their port que all items withing their ArrayList's by name OPTIONALLY: sorting by any other field that can be compared The sorting should be within the parent ArrayList Extend the GUI from Project 1 to allow the user to: sort by the comparators defined in part 2. Again, the GUI elements should be distinct from the other classes in the program.
ID do Projeto: 11584743

Sobre o projeto

7 propostas
Projeto remoto
Ativo há 8 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Hi, I am a senior Java developer, see my profile to get details. I did many projects for students. So i am sure i can help you to complete your project. Contact me to discuss details. Thanks, Appotato10
$55 USD em 3 dias
5,0 (10 avaliações)
4,1
4,1
7 freelancers estão ofertando em média $133 USD for esse trabalho
Avatar do Usuário
A proposal has not yet been provided
$111 USD em 2 dias
4,9 (67 avaliações)
5,1
5,1
Avatar do Usuário
hey guys i am computer engineer with experience java programming for 3 years i read your description i got it also i see netbeans project but now it's good if you give file to test
$250 USD em 5 dias
4,9 (4 avaliações)
2,8
2,8
Avatar do Usuário
Dear Hiring Manager; I have read your project description and I’m pretty confident that I will be able to get your work done excellently. I am an expert in data entry. I have successfully helped clients with data analysis. I am confident; I can take up your project and do it with perfection. I have excellent communication skills with over 10 years experience in data entry. I can use ms-excel spreadsheet to compute any type of data. I can use SPSS and CRM to compute data as well. I would be glad to talk about this project with you. I am really interested to know more about your project. What are the other things that I can do to satisfy you for your project? I would love to build an awesome working relationship with you by my Expertise, Honesty, Sincerity and Hard Work. With 100% accuracy guaranteed, I can create ms-excel templates from scratch to completion for different purposes. I am an expert using ms-excel, VBA macro and formula expert. I have over 5 year experience using excel formula. I can build-complex module program with VBA macro. I will be looking forward to discussing with you in greater depth and commence work immediately. Yours sincerely Femiab
$55 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Baltimore, United States
5,0
5
Método de pagamento verificado
Membro desde mai. 7, 2016

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.