CLICK HERE TO EARN MONEY FREE

Sunday, July 21, 2019

Arraylist and Forlop

package com.anand.model; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; import org.json.JSONException; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectWriter; public class Test { public static void main(String[] args) throws JsonProcessingException, JSONException { ArrayList dataList = buildData(); ArrayList uniqueList = getUniqueList(dataList); ArrayList> response = buildResponse(uniqueList); response = buildCompleteResponse(dataList, uniqueList, response); ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter(); String json = ow.writeValueAsString(response); System.out.println(json); } private static ArrayList> buildCompleteResponse(ArrayList dataList, ArrayList uniqueList, ArrayList> response) { for (int i = 0; i < dataList.size(); i++) { int poistion = i; int mtd = dataList.get(i).getMTD() > 0 ? response.get(poistion).get(0).getMTD() + 1 : response.get(poistion).get(0).getMTD() + 0; response.get(poistion).get(0).setMTD(mtd); int ytd = dataList.get(i).getYTD() > 0 ? response.get(poistion).get(0).getYTD() + 1 : response.get(poistion).get(0).getYTD() + 0; response.get(poistion).get(0).setYTD(ytd); int inflight = dataList.get(i).getIN_FLIGHT() > 0 ? response.get(poistion).get(0).getIN_FLIGHT() + 1 : response.get(poistion).get(0).getIN_FLIGHT() + 0; response.get(poistion).get(0).setIN_FLIGHT(inflight); response.get(poistion).get(0).setName(dataList.get(i).getName()); response.get(poistion).get(0).getNFIDArray().add(dataList.get(i).getNFID()); } return response; } public static ArrayList getUniqueList(ArrayList dataList) { ArrayList uniqueList = new ArrayList<>(); for (int i = 0; i < dataList.size(); i++) { uniqueList.add(dataList.get(i).getName()); } Set uniqueSet = new HashSet(uniqueList); ArrayList mainList = new ArrayList(); mainList.addAll(uniqueSet); return mainList; } public static ArrayList> buildResponse(ArrayList uniqueList) { ArrayList> response = new ArrayList<>(); for (int i = 0; i < uniqueList.size(); i++) { Values values = new Values(); ArrayList valueList = new ArrayList(); ArrayList nfidLsit = new ArrayList(); values.setNFIDArray(nfidLsit); valueList.add(values); response.add(valueList); } return response; } public static ArrayList buildData() { ArrayList dataList = new ArrayList<>(); for (int i = 0; i <10000; i++) { dataList.add(new Data("SA", "Design"+i, "2000"+i, 1, 0, 1, 1, 0, 1)); } return dataList; } }

Monday, April 11, 2016

MongoDB installation in windows and CRUD Operations

Saturday, April 9, 2016

Learn Git hub in 15 mins

Tuesday, April 14, 2015

Get 1000+ Likes in Facebook - 100% Working Auto Like Tricka


Tired Of Waiting For The Persons To Like Your Status? Want(Or Pretend) To Be Famous Person In Your Group?

To be true it is everyone's dream to be the most famous person on facebook.

Getting more no. of likes for your status and photos show your popularity. Facebook is the most feminist website where only girls get loads of likes.

Step 1: At first Go to Go Hit Likes and Register an account for free.







Step 2: Once Registered,Login with your Username and Password.




Step 3: Now,Visit http://more.gohitlikes.com/coupons.php and Redeem following coupons


 8018-4219-2078-7068

It will give you approximately 7000 coins which is enough to get a lot of Likes on Facebook.
Step 4: Now Open your dashboard and Click on Add Page.





Step 5: Select the type of page (Facebook Likes, Facebook Photo Likes, Facebook Share, Facebook Followers, Website, Instagram Likes, Instagram Followers, LinkedIn Share, Myspace Connections, Pinterest Followers, Pinterest Likes, Twitter Tweets, Twitter Followers, Traffic Exchange, Youtube Views, Youtube Subscribers, Youtube Share) and add your page there.





Step 6: Add the URL of your Page, Page Title, Select the coin spend on every like.Leave the rest option as default and finally Click on Add Page.


Step 7: Now Its time to sit back. I have already provided you coupon to get 7000 coins. So, you do not need to worry about it. People shall automatically come to your link and like them. Only your coins will be deducted on every like. But, as I said you have too much coin to spend. Although, If you want to get more coins then you can do so by liking other's page, status, pictures etc.






-------------------------------------------------------------------------------------------------------

OR
--------------------------------------------------------------------------------------------------------------------------


You might have thought that there is no way of getting too many likes on facebook and still dreaming about it.

If you are such a person, you have come to the right place.


So here is how you can get auto likes.




(click on the image to enlarge)


  • After you click on 'click here' you might be asked to allow permissions to a facebook application. After installing copy the url of that page which is your Access Token, it will be like

https://www.facebook.com/connect/login_success.html#access_token=AAABempp6Ls0BAFriXnchu3
RI3fTkTrrHqVI8LmZBWBTrZBd0VgpGSVXwBctohE3vp0mvM49wF1BRvF2Lqi6i3xSrGbsZCcZD&expires_in=0


  • Copy it and paste on the box provided in AutoLike4u homepage and click submit.
(click on the image to enlarge)


  • Wait for the next page to load with some subscribe buttons. Subscribe any one there and click submit button.(Subscribing is not compulsory)

  • Next page you get will be having your 5 recent updates with a subscribe button corresponding to each. Click on the submit button of your update for which you need hooping likes.
  • Most probably after doing this you may be asked to login to your facebook account again. This doesn't happen all the time. Its good if it happens so.
  • Repeat the submission on autolike4u to get hooping number of likes.

Wednesday, March 18, 2015

How to get Tether onto your Windows computer

These instructions will explain how to get Tether onto your Windows computer. All you need to do is follow the instructions below. If you have a Mac and need the instructions, click here.
Instructions

Download and install the Tether PC software:
http://tether.com/a/tether.exe
Connect your Android to your computer with the USB cable that came with your Android. On your Android phone go to Settings > Applications > Development and check USB debugging.
Once the download completes on your PC, please run the setup and follow the instructions. At some point you may see a screen that says it can't verify the publisher, this is because we are using Google's default Android Drivers. Please be sure to agree and install these drivers.
During the Install process it will install Tether on your Android over USB.
Run Tether on your PC and on your Android. You will be prompted to select USB. Please go ahead and connect it.
You should now see data/packets flowing on Tether. That means you're connected!
If you're happy with Tether and want to purchase simply visit the following website: http://tether.com/android/order
If you're having problems and not interested in our product, we would appreciate your feedback: http://tether.com/support

Trick to Remove Items From Right-Click Menu


Most annoying thing about windows, after the installation of too many applications the context menu becomes too large. Some applications shortcuts are useful but most of them are useless .You should put only those items in right click menu which you use frequently.However there is no direct method to remove an item from the right click menu and you have make changes in the registry.

Registry contains all the information about components and applications running on Windows operating system. So, small change in registry settings may cause big irreversible damage. It is recommended to create a backup of all the registry files before doing any changes in it.

Trick to Remove Items From Right-Click Menu

 Open Run from the start menu and search for regedit in it.
  Now in Registry Settings window, Navigate to HKEY_CLASSES_ROOT\*\shellexe\ContextMenuHandlers

Now from the list, Right Click on the item which you want to remove from your Context menu
Select delete from the menu.
Refresh your Desktop and Right Click on any icon and you will be glad to see that unwanted item is removed from context menu.
Along with removing items from the Context Menu you also add System files in it

Saturday, March 14, 2015

How to Enable Right click on Website when it is Disabled


PROCEDURE TO ENABLE RIGHT CLICK ON DIFFERENT BROWSERS
CHROME
1) Go to Chrome "Menu " and click on "Settings", Menu was located on the Top Right side Of your browser
2) Now Go to " Content Settings "
3) Then Click on Do not Run any java script on Websites
4) Please restart your Browser
5) Now Right click will be Enabled and you can copy content from the Website
MOZILLA
1) Go to Tools in the Mozilla menu and then open the "Options"
2) Now after Browsing to Options click on "Content"
3) In the Content there is option of Enable "Javascript" ,Disable it
4) Restart your Browser once
5) Now we can Copy the Text from Website easily with Firefox
INTERNET EXPLORER
1) Go to Tools and then "Options"
2) After Options go to Security , then Click on "Custom Level"
3) Scroll to the "Scripting Section" on the Bottom, then search for Active Scripting
4) Disable the "Active Scripting" and Restart your Browser
Now you can copy text from website without using any Softwares
NOTE- Please Change the Settings to Default, after you have used this trick Before Lot of Applications are Running on Java, you cannot Browse smoothly Without Javascript
NAINA
 

TEKONOLOGY Copyright © 2011 -- Template created by TEKONOLOGY -- Powered by Blogger