已关闭

Java functionis required asap

Validation :

String needs to validate

String validationStr= " hitCount=2&&HeadlineText= BRIEF-NanHua Bio-medicine Notes Unusual Price Movement In Shares Of Company ||RCS=G:1|E:5|G:2EK|R:SBRY.L||PermIDs=4295895145|4295890710";

Above things needs to validate in below String data

String valStr2 =" {hitCount=[2671], RCS=[B:126 E:6 B:125 G:6 DEE:1 B:260 A:C B:96 C:D R:[login to view URL] B:92 M:1QD E:4V E:K G:K A:T A:U E:R G:S P:4295865629 E:5A G:B1 B:259 E:5C E:W B:69 B:255 B:86 G:3H B:130 M:Z L:en A:1 A:2 B:1460 A:6 E:1 M:1P2 G:1, A:9 E:6 E:5 G:6 B:38 B:35 DEE:1 B:34 E:4J C:D M:1QD E:J R:[login to view URL] G:K E:R B:1175 B:236 E:5A B:235 G:S G:B1 B:237 E:W B:234 G:3H B:41 M:Z P:4295864699 L:en E:1 A:6 G:1], HeadlineText=[BRIEF-NanHua Bio-medicine Notes Unusual Price Movement In Shares Of Company, BRIEF-Guizhou Changzheng Tiancheng To Sell Electric Unit For 398.0 Mln Yuan], PermIDs=[, 4295864699,,,5000058303]}";

NOTE : && operator means AND, || operator means OR single | means OR

Explanation : testcase will pass when below condition will be true

1. hitCount=2 there should be there should be 2 HeadlineText or 2 RCS values

2. there should be "HeadlineText=REG - D E Shaw ; Co LP Sainsbury (J) PLC Home Retail Grp Plc - Form 8.3 - J Sainsbury Plc" OR in RCS field the G:1 OR E:5 OR G:2EK OR R:SBRY.L words should be there OR in PermIDs fields the 4295895145 OR 4295890710 should ne exist then condition will true.

so we'll pass the validationStr and valStr2 Strings in method then it should give true or false in return

and in validationStr string the HeadlineText or RCS and PermIDs can be anything like we can have sometime HeadlineText or RCS or PermIDs OR new fileds like Langauge fields we can have so all things should be dynamic validation Tags and validation text

and It should be print like this :

OUTPUT

1. 2 Records are exist

2. The Headline Text does not exist BUT G:1 Exist in both records

then same for all if any words exist in OR condition then the final result will be true

Please let me know if any doubts.

Needs Highly expert and we needs till tomorrow morning.

thanks

技能: Java

查看更多: function<> java, java function example, function identity java, java.util.function example, java function apply, java function interface example, java 8 function example, java function class example, php required field validation, java free memory asap, php required fields validation, simple booking java software required, required field validation php, webform required field validation, russian korean hebrew translators required asap, form required fields validation, simple html required field validation, php form required fields validation, telesales workers required asap, required fields validation php

关于此雇主:
( 5个评论 ) Bangalore, India

项目ID: #17640007

10 威客就此工作平均出价 ₹2105

₹1950 INR 在2天内
(36条评论)
4.9
₹10000INR 在1天里
(26条评论)
4.1
₹1450INR 在1天里
(1条评论)
1.3
₹1000INR 在1天里
(0条评论)
0.0
kiyan307c

Hi, I can finish it by as fast as possible. Can you please provide me clear requirement I am not to understand your requirement. thanks!!

₹1500 INR 在0天内
(0条评论)
0.0
theelite2018

we can be summed up by a firm who can achieve anything we puts our mind up to, having months of freelancing in Android Domain, always staying updated is one of our Idiosyncrasies followed by a desperate mode of state t 更多

₹750INR 在1天里
(0条评论)
0.0
vishal61195

i am a java developer working in an mnc and having experience of working on spring, hibernate, web services and core java

₹750 INR 在2天内
(0条评论)
0.0
abdulvazid

I have an experience of 3 years as a java developer. I am good at problem solving. I am interested in this project and will deliver the code in time.

₹1300INR 在1天里
(0条评论)
0.0
₹1050INR 在1天里
(0条评论)
0.0
₹1300INR 在1天里
(0条评论)
0.0