Find Jobs
Hire Freelancers

File Category Processor

₹600-1500 INR

已取消
已发布将近 6 年前

₹600-1500 INR

货到付款
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 10) Need professional level of code ONLY!!!! Input ===== NUMBERS one three two one three ANIMALS sheep horse cow horse NUMBERS seven ANIMALS NUMBERS six six ANIMALS moose CARS AUDI BMW Audi VW OPEL Opel
项目 ID: 17166330

关于此项目

2提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi, I'm an experienced java developer and I'm very good in core java, data structures, maven, etc. I'll do it in good quality with perfect code. Kind regards, Indika
₹1,500 INR 在1天之内
4.7 (13条评论)
5.4
5.4

关于客户

INDIA的国旗
New Delhi, India
0.0
0
付款方式已验证
会员自6月 12, 2018起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。