Find Jobs
Hire Freelancers

File Category Processor (JAVA-8/9)

₹600-1500 INR

Folyamatban
Kiadva ekkor: majdnem 6 évvel ezelőtt

₹600-1500 INR

Teljesítéskor fizetve
Code has to be written as per requirement : As a general requirement: Please make sure I can execute the code on my local machine, i.e. please provide all required dependencies and installation documentation or a ready to use build configuration, e.g. a maven pom.xml. Please write a program that reads file [login to view URL] which you find [WRITTEN BELOW ****] In this file you’ll find lines containing categories and data. The categories are “ANIMALS” and “NUMBERS”. Please note that categories are fix values, i.e. they are NOT determined by being written upper case. Each line following a category represents data items that belong to the previously read category (unless the new line represents a category itself) After reading and processing the file please output to the system console: A sorted list of all unique data items of category “ANIMALS”, i.e. ANIMALS: cow horse moose sheep A list of all unique data items of category “NUMBERS”, followed by “: “ and the number of occurrences of the respective data item Provide Unit tests for your code. Please make sure you have correctly implemented code for categories NUMBERS and ANIMALS. Now, as a Change Request, you are to add functionality to your program that allows for processing a new category called "CARS" Read & process file "[login to view URL]“ which contains category, "CARS“, as well as NUMBERS and ANIMALS. Data items are case insensitive, i.e. OPEL and Opel represent 1 unique data item Output the data for categories "ANIMALS" and "NUMBERS" as described in Level 1. Additionally, output the unique data items of category “CARS” as a backwards sorted list, each item written in lower case. Each data item output shall be followed by the item’s MD5 hash written in brackets. Hint: using [login to view URL] from commons-codec (or a similar library) for creating the hash is perfectly legal. I.e. the expected output for CARS shall be: CARS: vw (7336a2c49b0045fa1340bf899f785e70) opel (f65b7d39472c52142ea2f4ea5e115d59) bmw (71913f59e458e026d6609cdb5a7cc53d) audi (4d9fa555e7c23996e99f1fb0e286aea8) INPUT ======= ******************************************************************************************************* 1) Make sure the input file is read and processed only once (as if the file was large and expensive to process). 2) Do not use if/else, switch/case or Ternary Operations in your code. 3)The code should be written in a way that allows for adding more new categories (that might have even different logic and output formatting) without changing the existing code base (open closed principle). 4) Make sure to provide test cases 5) Need best-in class code (as per checkstyle and SONAR), as we have already implemented the code, but need best in-class code. 6) Code has to be done by today itself(13/06/2018). 7) Fixed budget. 8) Money to be paid only after review of successful written and executed code.[Please Note this carefully]. 9) Code to be built on maven and Java 8/9
Projektazonosító: 17159343

A projektről

3 ajánlat
Távolról teljesíthető projekt
Aktiválva: 6 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
I have over 10 years of experience in Java. If you need the code by today, please make sure you get the work started sometime in the morning. As quality needs time.
₹1 000 INR 1 napon belül
5,0 (2 értékelés)
1,5
1,5

Az ügyfélről

INDIA zászlója
New Delhi, India
0,0
0
Fizetési mód hitelesítve
Tagság kezdete: jún. 12, 2018

Ügyfél-hitelesítés

További munkák ettől az ügyféltől

File Category Processor
₹600-1500 INR
Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.