Skip to content

Instantly share code, notes, and snippets.

View rameshvishnoi90904's full-sized avatar

Ramesh Vishnoi rameshvishnoi90904

View GitHub Profile

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@rameshvishnoi90904
rameshvishnoi90904 / WordCountMultiThread.java
Created December 25, 2017 14:09 — forked from SriramKeerthi/WordCountMultiThread.java
Counts words in a file using multiple threads
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.*;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;