This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!

Hemendra Singh Tnh

Greenhorn
+ Follow
since May 21, 2019
I am Hemendra Singh Managing Director and co-founder of The NineHertz, a Mobile App Development Company. I am having a keen interest in the latest trends and technologies that are emerging in different domains. Being an entrepreneur in the field of IT sector, it becomes my responsibility to aid my audience with the knowledge of latest trends in the market.
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Hemendra Singh Tnh

The Importance of Choosing a Safe APK Site. An APK file (short for Android Package) is the primary way Android apps are distributed and installed. When you download an app from Google Play, you're downloading and running an APK file in the background, but you have no access to the APK itself.
2 years ago
Read the entire first file, and put it into a List. Then read the second file one row at a time, and compare each row to all the rows of the first file to see if it's a duplicate. If it's not a duplicate, then it's new information. If you're having trouble with reading, look at http://opencsv.sourceforge.net/, it's a pretty good library for reading CSV files in Java.
2 years ago
Just as with a natural language, you have an active and a passive vocabulary with a development language. That active vocabulary is a collection of keywords which you use daily, and understand fluently. The passive vocabulary is a set of keywords which you recognize, but may not think of immediately.

For HTML, you should have an active vocabulary of about 20 - 30 elements. Look over web pages on just about any web site (including Quora) and you'll find the same 30ish HTML elements; <body>, <div>, <p>, <ul>, etc. These you should know well.

Your active vocabulary are those HTML tags that you've read about - from a book or a blog. It's ok that you don't know the half-a-dozen different elements that exist for a <table>. but if you see a <colgroup>, it should seem familiar to you.
Head First Java by Kathy Sierra & Bert Bates

Beginning Programming with Java For Dummies

Java: Programming Basics for Absolute Beginners by Nathan Clark

Java: A Beginner’s Guide by Herbert Schildt

Core Java Volume I — Fundamentals

Think Java: How to Think Like a Computer Scientist by Allen Downey and Chris Mayfield

2 years ago
You need to collect the second stream and store all its values in some adapted data structure.

For example using a Set:

Set<String> secondSet = second.collect(Collectors.toSet());
List<String> f = first.filter(s -> secondSet.contains(s))
                     .collect(Collectors.toList());
2 years ago