JavaMadeSoEasy.com (JMSE)

  • CUSTOM HASHMAP
    • Custom HashMap, LinkedHaspMap, HashSet, Arrayist
  • Core Java Tutorials
    • Core Java Basics Tutorial
    • Basic programs for java beginners
    • Collection framework Tutorial
    • Exceptions handling Tutorial
    • Threads / Multi-threading Tutorial
    • Thread Concurrency Tutorial
    • Series of JVM and GARBAGE COLLECTION (GC)
    • Serialization And Deserialization Tutorial
    • Java 8
    • JDBC - Java Database connectivity tutorial
    • File IO | File handling Tutorial
    • Overriding equals and hashcode method
    •   >Mongo db - NoSQL with java
    • SORTING & SEARCHING tutorial in java
    • DATA STRUCTURES tutorial in java
    • CUSTOM IMPLEMENTATION of MAP, SET and LISTS
    • Java 7
    • INTERVIEW PROGRAMS (beginner to advanced)
    • Core java QUIZ - Mcq(Multiple choice questions)
    • INTERVIEW QUESTION and ANSWERS in Java
  • Interview Questions
    • Interview Programs (beginner to advanced)
    • Core java QUIZ - Mcq(Multiple choice questions)
    • CORE JAVA - Top 120 interview questions
    • COLLECTION - Top 100 interview questions
    • COLLECTION Output questions
    • Overriding EQUALS and HASHCODE - Top 18 Interview questions
    • EXCEPTIONS - Top 60 interview questions
    • EXCEPTIONS - Output questions
    • THREADS / MULTI-THREADING - Top 80 interview questions
    • THREADS / MULTI-THREADING - Output questions
    • THREAD CONCURRENCY - Top 50 interview questions
    • Serialization - Top 25 interview questions
    • JDBC - Top 40 interview questions
    • Interview Programs (beginner to advanced)
    •   >Level1 programs (beginner)
    •   >Level2 programs (intermediate)
    •   >Level3 programs (advanced)
    •   >Matrix related programs
    •   >Pattern/Pyramid generating programs
    • Core java QUIZ - Mcq(Multiple choice questions)
    •   >Collection Quiz in Java
    •   >Exception handling Quiz in Java
    •   >Java 8 quiz
    •   >Thread / multi threading Quiz
    •   >Thread concurrency Quiz in Java
  • Interview Programs
    •   >Level1 programs (beginner)
    •   >Level2 programs (intermediate)
    •   >Level3 programs (advanced)
    •   >Matrix related programs
    •   >Pattern/Pyramid generating programs
  • Quiz / OCJP Exam
    •   >SCJP / OCJP exam dumps
    •   >Collection Quiz in Java
    •   >Exception handling Quiz in Java
    •   >Java 8 quiz
    •   >Thread / multi threading Quiz
    •   >Thread concurrency Quiz in Java
  • Database
    • Oracle PL/SQL tutorial
    • MySql tutorial
    • Mongo db - NoSQL tutorial
    • Mongo db - NoSQL with java
  • More
    • MS EXCEL Tutorials
    • UNIX Tutorials
    • LINUX Tutorials
    • Eclipse tutorial
    • Notepad++ Tutorials
    • Apache Tomcat Server
    • Windows tutorial
    • JUnit tutorial
    • JavaScript Tutorials
  • About
    • About Me
    • Contact Me
    • Copyright
    • Become author/writer
    • Copyright
    • References
    • Privacy policy

ThreadDeath error - calling stop method on thread throws ThreadDeath error in java

Labels: Core Java Exceptions MultiThreading Multithreading tutorials Threads

Program to create method that provides functionality similar to putIfAbsent method of ConcurrentHashMap and to be used with HashMap

Labels: Collection Framework Collection programs Core Java HashMap programs

Program to use ConcurrentHashMap’s putIfAbsent method

Labels: Collection programs Core Java

Program to Sort Map by value in Descending order by implementing Comparator interface and overriding its compare method

Labels: Collection programs Comparable and Comparator program Core Java

Program to Sort Map by value in Ascending order by implementing Comparator interface and overriding its compare method

Labels: Collection Framework Collection programs Comparable and Comparator program Core Java

TreeMap’s constructor to sort map on basis of key

Labels: Collection Framework Collection programs Core Java

TreeMap’s putAll method to sort map on basis of key

Labels: Collection programs Core Java

Program to Sort Map by key in descending order by using TreeMap and implementing Comparator interface, where key is Integer type

Labels: Collection Framework Collection programs Comparable and Comparator program Core Java

Program to Sort Map by key in Ascending order by using TreeMap and implementing Comparable interface, where key is customObject/Employee type

Labels: Collection programs Comparable and Comparator program Core Java

Program to Sort Map by key in Ascending order by using TreeMap, where key is Integer type.

Labels: Collection programs Core Java

Program to Sort Map by key in Descending order by implementing Comparator interface and overriding its compare method

Labels: Collection programs Comparable and Comparator program Core Java

Program to Sort Map by key in Ascending order by implementing Comparator interface and overriding its compare method

Labels: Collection Framework Collection programs Comparable and Comparator program Core Java

TreeMap’s constructor to sort java Collection framework classes

Labels: Collection Framework Collection programs Core Java

TreeMap’s addAll method to sort java Collection framework classes

Labels: Collection programs Core Java

Program to Sort Set in Ascending order by using TreeSet and implementing Comparator interface, where elements are customObject/Employee type.

Labels: Collection Framework Collection programs Comparable and Comparator program Core Java

Search This Blog

  • Algorithm
  • Collection Framework
  • Collection programs
  • Collections implementation
  • Core Java
  • Core Java Differences
  • Core Java Tutorials
  • Custom implementation of Data Structures
  • Data Structure
  • Exceptions
  • Garbage collection in java
  • Generics
  • Hashing
  • Interview questions
  • JVM
  • Java 7
  • Java 8
  • Java QUIZ
  • Level1 programs (beginners)
  • Level2 programs (intermediate)
  • Level3 programs (advanced)
  • Linked List
  • Linux
  • MongoDB
  • MultiThreading
  • Oracle
  • OutOfMemoryError
  • Overriding equals and hashCode
  • PostgreSQL
  • Producer Consumer problem/pattern
  • Serialization
  • TUTORIALS
  • Thread Concurrency
  • Threads

Popular Posts of JavaMadeSoEasy

  • Collection Quiz in Java - MCQ - Multiple choice questions
  • Java 8 quiz - MCQ - Multiple choice questions
  • Thread/multi threading Quiz in Java - MCQ - Multiple choice questions
  • Exception handling Quiz in Java
  • CORE JAVA - Top 120 most interesting and important interview questions and answers in core java
  • HashMap Custom implementation in java - How HashMap works internally with diagrams and full program
  • vi error - E37: No write since last change (add ! to override)
  • Solve [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven: Compilation failure: Compilation failure: diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)
  • Core Java Tutorial in detail with diagram and programs - BEST EXPLANATION EVER
  • THREADS - Top 80 interview questions and answers in java for freshers and experienced(detailed explanation with programs) Set-1 > Q1- Q60

All Labels

Algorithm(34) Arrays Java(30) Autoboxing(5) Basic java programs for beginners(15) Binary Trees(6) CRUD MongoDB java(5) Collection Framework(68) Collections implementation(16) Comparable and Comparator program(22) Core Java(1035) Core Java Differences(11) Core Java Tutorials(12) Custom implementation of Data Structures(11) Data Structure(26) Database(1) DeSerialization(19) Exam java(33) Exceptions(71) Garbage collection in java(43) Generics(5) Hashing(8) Interview questions(14) JDBC(74) JVM(22) JVM parameters(10) Java 7(32) Java 8(80) Java Mcq(Multiple choice questions)(5) Java Programs(8) Java QUIZ(24) Java keywords(11) Level1 programs (beginners)(34) Level2 programs (intermediate)(23) Level3 programs (advanced)(13) Linked List(15) Linux(7) MongoDB(87) MongoDB Java(20) MultiThreading(97) OutOfMemoryError(13) Overriding equals and hashCode(11) Producer Consumer problem/pattern(10) SCJP(26) Serialization(20) TUTORIALS(22) Thread Concurrency(35) Threads(73) UNIX(1) core java Basics(38) java 5(3)

JavaMadeSoeasy Archive

  • ►  2020 (1)
    • ►  January (1)
  • ►  2019 (11)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  June (6)
    • ►  April (2)
  • ►  2018 (40)
    • ►  October (1)
    • ►  September (11)
    • ►  August (15)
    • ►  July (3)
    • ►  June (10)
  • ►  2017 (208)
    • ►  October (5)
    • ►  August (15)
    • ►  June (20)
    • ►  May (40)
    • ►  April (52)
    • ►  March (33)
    • ►  February (41)
    • ►  January (2)
  • ►  2016 (306)
    • ►  December (40)
    • ►  November (23)
    • ►  October (57)
    • ►  September (34)
    • ►  August (18)
    • ►  July (48)
    • ►  June (25)
    • ►  May (6)
    • ►  April (19)
    • ►  March (12)
    • ►  February (6)
    • ►  January (18)
  • ►  2015 (722)
    • ►  December (61)
    • ►  November (96)
    • ►  October (14)
    • ►  September (13)
    • ►  August (73)
    • ►  July (54)
    • ►  June (29)
    • ►  May (53)
    • ►  April (109)
    • ►  March (93)
    • ►  February (99)
    • ►  January (28)

Join our Groups>

  • FACEBOOK
  • LINKED IN