Below are the list of topics for Java 1.8 features :
- Lambda Expression
- Functional Interface
- Anonymous Inner class v/s Lambda Expression
- Default and static methods
- Java 8 – default and static methods
- Pre-defined Functional Interface (1 argument)
- Pre-defined Functional Interface (2 arguments)
- Primitive Predicate Functional Interface
- IntPredicate
- LongPredicate
- DoublePredicate
- Primitive Function Functional Interface
- IntFunction
- LongFunction
- DoubleFunction
- ToIntFunction
- ToLongFunction
- ToDoubleFunction
- IntToLongFunction
- IntToDoubleFunction
- LongToIntFunction
- LongToDoubleFunction
- DoubleToIntFunction
- DoubleToLongFunction
- Primitive BiFunction Functional Interface
- ToIntBiFunction
- ToLongBiFunction
- ToDoubleBiFunction
- Primitive Consumer Functional Interface
- IntConsumer
- LongConsumer
- DoubleConsumer
- ObjIntConsumer
- ObjLongConsumer
- ObjDoubleConsumer
- Primitive Supplier Functional Interface
- IntSupplier
- LongSupplier
- DoubleSupplier
- BooleanSupplier
- UnaryOperator Functional Interface and its primitive types
- IntUnaryOperator
- LongUnaryOperator
- DoubleUnaryOperator
- BinaryOperator Functional Interface and its primitive types
- IntBinaryOperator
- LongBinaryOperator
- DoubleBinaryOperator
- Method and Constructor references
- Stream API
- How to create Stream
- Stream filter() method with examples
- Stream map() method with examples
- Stream flapMap method with examples
- Difference between map() and flatMap() in Stream API
- Stream forEach() method with examples
- Stream forEachOrdered() method
- Stream sorted() method with examples
- Stream count() method with examples
- Stream distinct() method with examples
- Stream min() and max() methods
- Stream skip() and limit() methods
- Stream peek() method with examples
- Stream anyMatch() method with examples
- Stream noneMatch() method with examples
- Stream allMatch() method with examples
- Stream findFirst() and findAny() methods
- Stream collect() method with examples
- Stream concat() method with examples
- Stream toArray() method with examples
- Stream reduce() method with examples
- Stream mapToInt() method with examples
- Stream mapToLong() method with examples
- Stream mapToDouble() method with examples
- Stream flatMapToInt() method with examples
- Stream flatMapToLong() method with examples
- Stream flatMapToDouble() method with examples
- Optional Classes
- Date and Time API (JODA Time)
- Java 8 – LocalDate with method details and examples
- Java 8 – LocalTime with method details and examples
- Java 8 – LocalDateTime with method details and examples
- Java 8 – ZonedDateTime with method details and examples
- Java 8 – Display all Zones and its Offset using ZoneId and ZoneOffset
- Java 8 – OffsetDateTime with method details and examples
- Java 8 – Instant with method details and examples
- Java 8 – How to display Zones for particular Offset ?
- Java 8 – Clock with method details and examples
- Java 8 – OffsetTime with method details and examples
- Java 8 – How to get current Date and Time ?
- More Java 8 Date/Time API examples
Java 8 Comparator – Sorting methods
- Java 8 – Comparator.naturalOrder() and Comparator.reverseOrder()
- Java 8 – reversed() method
- Java 8 – Comparator.comparing() method
- Java 8 – Comparator.comparing() method for custom/reverse sorting
- Java 8 – Comparator.comparingInt() method
- Java 8 – Comparator.comparingLong() method
- Java 8 – Comparator.comparingDouble() method
- Java 8 – Comparator.nullsFirst() and nullsLast() methods
- Java 8 – thenComparing() method (2-level attributes)
- Java 8 – thenComparing() method for custom/reverse sorting (2-level attributes)
- Java 8 – thenComparingInt() method (2-level attributes)
- Java 8 – thenComparingLong() method (2-level attributes)
- Java 8 – thenComparingDouble() method (2-level attributes)
Java 8 Comparator – Collection Sorting
- Java 8 – How to sort ArrayList elements ?
- Java 8 – Sorting List of primitive, String & Custom Objects
- Java 8 – Sorting ArrayList using sort() method of List
- Java 8 – How to sort LinkedList elements ?
- Java 8 – How to sort HashSet elements ?
- Java 8 – How to sort LinkedHashSet elements ?
- Java 8 – How to sort TreeSet in descending order ?
- Java 8 – How to sort List and Arrays with null values present ?
- Java 8 – How to sort Arrays in Ascending and Descending order ?
- Java 8 – Sorting list of objects on multiple fields (3-level attributes)
- Java 8 – How to Sort String[] Arrays by its length in Ascending/Descending order ?
- Java 8 – How to Sort String List by its length in Ascending/Descending order ?
Java 8 Comparator – Map Sorting
- Java 8 – How to Sort HashMap Key-Value pairs by its Key in ascending & descending order ?
- Java 8 – How to Sort HashMap Key-Value pairs by its Value in ascending & descending order ?
- Java 8 – Sorting HashMap entries by its Key and Value
- Java 8 – How to Sort a Map entries by its Key – 6 ways ?
- Java 8 – How to Sort a Map entries by its Value – 6 ways ?
- Java 8 – How to sort LinkedHashMap entries by its Key in ascending/descending order ?
- Java 8 – How to sort LinkedHashMap entries by its Value in ascending/descending order ?
- Java 8 – How to sort TreeMap entries in descending order ?
Java 8 Comparator – Date Sorting
- Java 8 – How to sort List by java.util.Date in different ways ?
- Java 8 – How to sort List by java.time.LocalDate in different ways ?
- Java 8 – How to sort List by java.time.LocalDateTime in different ways ?
- Java 8 – How to sort List by java.time.ZonedDateTime in different ways ?
- Java 8 – How to sort List by java.time.OffsetDateTime in different ways ?
Java 8 – Iterating Collection
- Java 8 – Different ways to iterate through List – 7 ways
- Java 8 – Various ways to iterate through ArrayList – 5 ways
- Java 8 – Iterating List using forEach()
- Java 8 – Iterating Set using forEach()
Java 8 – Iterating Arrays
Java 8 – Iterating Map
- Java 8 – Iterating Map using forEach()
- Java 8 – Iterating HashMap in 8 ways
- Java 8 – Various ways to iterate through Hashtable – 6 ways
- Java 8 – Various ways to iterate over HashMap of ArrayList
Java 8 – Removing duplicates
- Java 8 – How to find duplicate and its count in a Stream or List ?
- Java 8 – How to remove duplicates from ArrayList ?
- Java 8 – How to remove duplicates from LinkedList ?
- Java 8 – How to find duplicate and its count in an Arrays ?
- Java 8 – How to remove duplicate from Arrays ?
- Java 8 – Various ways to remove duplicate elements from Arrays
- Java 8 – How to find and count duplicate values in a Map or HashMap ?
Java 8 – Removing Map Entry
- Java 8 – How to remove an entry from HashMap by comparing keys ?
- Java 8 – How to remove an entry from HashMap by comparing values ?
- Java 8 – How to remove an entry with Largest Key in a Map or HashMap ?
- Java 8 – How to remove an entry with Largest Value in a Map or HashMap ?
- Java 8 – How to remove an entry with Smallest Key in a Map or HashMap ?
- Java 8 – How to remove an entry with Smallest Value in a Map or HashMap ?
- Java 8 – How to remove an entry based on the Key in a Map or HashMap ?
- Java 8 – How to remove an entry based on the Value in a Map or HashMap ?
Java 8 – Filtering
- Java 8 – Filter null and empty values from a Stream
- Java 8 – Filter a Map by its Key and Value
- Java 8 – How to store multiple values for single key in HashMap and Filter them ?
- Java 8 – How to get Keys from Value in HashMap using Stream ?
Java 8 – Merging
- Java 8 – Merging two or more Stream of elements
- Java – Merging 2 Arrays using List/Set approach
- Java – Concatenating 2 Arrays using Third Arrays approach
- Java 8 – How to Merge or Concatenate 2 Arrays using Stream API ?
- Java 8 – How to merge/concatenate/join two lists into single list ?
Java 8 – Collection Conversion
- Java – Conversion of List to Map
- Java – Conversion of Map to List
- Java – Conversion of Arrays to List
- Java – Conversion of List to Arrays
- Java 8 – Conversion of List to Map
- Java 8 – Conversion of Map to List
- Java 8 – Conversion of Arrays to List
- Java 8 – Conversion of List to Arrays
- Java 8 – How to convert HashMap to ArrayList ?
Java 8 – Stream Conversion
- Java 8 – Conversion of Arrays to Stream
- Java 8 – Conversion of Stream to Arrays
- Java 8 – Convert List to Stream
- Java 8 – Convert Stream to List
- Java 8 – Convert Stream to ArrayList
- Java 8 – Convert Stream to LinkedList
- Java 8 – Convert Stream to HashSet
- Java 8 – Convert Stream to LinkedHashSet
- Java 8 – Convert Stream to TreeSet
Java 8 – Map Conversion
- Java 8 – Convert Stream to HashMap
- Java 8 – Convert Stream to LinkedHashMap
- Java 8 – Convert Stream to TreeMap
- Java 8 – Convert Stream to ConcurrentHashMap
Java 8 – String methods
- Java 8 – How to get a specific character from String ?
- Java 8 – How to check whether particular word/letter/sub-string is present in the String ?
- Java 8 – How to check whether particular String endsWith specific word/letter ?
- Java 8 – How to check whether particular String startsWith specific word/letter ?
- Java 8 – How to check whether a String is empty or not ?
- Java 8 – How to get length of a String ?
- Java 8 – How to convert a String into char[] Arrays using Stream ?
- Java 8 – How to convert a String into char[] Arrays in different ways ?
- Java 8 – How to convert a String into UpperCase String ?
- Java 8 – How to convert a String into LowerCase String ?
- Java 8 – How to remove leading and trailing whitespaces in a String ?
- Java 8 – How to replace a String with another String ?
- Java 8 – How to split a String based on delimiter ?
- Java 8 – How to convert primitive data-types into String ?
- Java 8 – How to join String[] Arrays elements using different delimiter ?
- Java 8 – How to join List of String elements using different delimiter ?
- Java 8 – How to find 1st and last index of particular character/substring in a String ?
- Java 8 – How to get hashCode of a String ?
- Java 8 – How to get sub-string from a String ?
- Java 8 – How to convert String to ArrayList ?
Java 8 – String & File operations
- Java 8 – Count and print number of lines and words in a text file
- Java 8 – Count and print number of repeated word occurrences in a text file
- Java 8 – Count and print number of repeated character occurrences in a String
- Java 8 – Count and print number of Vowels and Consonants in a String
- Java 8 – Reverse each words in a String using Stream and Collectors
- Java 8 – Reverse complete/entire String using Stream and Collectors
- Java 8 – Remove input-ted Character from a given String
- Java 8 – How to split a String and Collect to any Collection ?
- Java 8 – How to check whether given String contains only Alphabets or Letters ?
- Java 8 – How to check whether given String contains only Digits ?
- Java 8 – How to check whether given String contains Alphanumeric characters only ?
- Java 8 – How to convert first character of every word to Uppercase ?
- Java 8 – How to convert duplicate characters to Uppercase in a String ?
- Java 8 – How to remove special characters from String ?
- Java 8 – How to remove last comma (,) from String ?
- Java 8 – How to count length of last word in a String ?
Java 8 – Min/Max or Largest/Smallest programs
- Java 8 – Find Largest number in an Arrays or List or Stream ?
- Java 8 – Find Smallest number in an Arrays or List or Stream ?
- Java 8 – Find 2nd Largest number in an Arrays or List or Stream ?
- Java 8 – Find 2nd Smallest number in an Arrays or List or Stream ?
- Java 8 – Find sum of Largest 2 numbers in an Arrays or List or Stream ?
- Java 8 – Find sum of Smallest 2 numbers in an Arrays or List or Stream ?
- Java 8 – Find 1st and Last elements in an Arrays ?
- Java 8 – Find 1st and Last elements in a List or ArrayList ?
- Java 8 – Find 1st and Last elements in a Set or HashSet ?
- Java 8 – Find 1st and Last entries in a Map or HashMap ?
- Java 8 – Find sum and average of a List or ArrayList ?
- Java 8 – How to calculate sum and average of an Arrays ?
Java 8 – Finding Map Entry
- Java 8 – How to find an entry with Largest Key in a Map or HashMap ?
- Java 8 – How to find an entry with Largest Value in a Map or HashMap ?
- Java 8 – How to find an entry with Smallest Key in a Map or HashMap ?
- Java 8 – How to find an entry with Smallest Value in a Map or HashMap ?
- Java 8 – How to find an entry based on the Key in a Map or HashMap ?
- Java 8 – How to find an entry based on the Value in a Map or HashMap ?
Java 8 – Longest & Shortest programs
- Java 8 – Find Longest String in an Arrays or List or Stream ?
- Java 8 – Find Shortest String in an Arrays or List or Stream ?
- Java 8 – Find 3rd Longest String in an Arrays or List or Stream ?
- Java 8 – Find 3rd Shortest String in an Arrays or List or Stream ?
- Java 8 – Find all longest Strings in List or Arrays or Stream ?
- Java 8 – Find all shortest Strings in List or Arrays or Stream ?
Java 8 programs – Miscellaneous
- Java features version-wise
- Java – How to print an Arrays elements ?
- Java – String join() method
- Java 8 – Connect to MS Access database using JDBC
- Java 8 – How to check whether a number exists in an Arrays or List or Stream ?
- Java 8 – How to find even/odd number from a range of numbers ?
Java 8 – Interview Question & Answers
Suggest tutorials from Contact Us page
Happy Coding !!
Happy Learning !!