<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[JavaBrahman.com - Live, Learn, Loop Back]]></title><description><![CDATA[Learn how to program and build apps in the cloud]]></description><link>https://www.javabrahman.com/</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 00:17:16 GMT</lastBuildDate><atom:link href="https://www.javabrahman.com/feed.xml" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Apr 2024 17:12:41 GMT</pubDate><copyright><![CDATA[Javabrahman.com]]></copyright><language><![CDATA[en-US]]></language><item><title><![CDATA[How to set up a new Koa 2 App for REST API development on Node.js]]></title><description><![CDATA[Tutorial explains how to setup a new Koa 2 Node.js app from scratch and builds a Hello World HTTP GET REST API on Koa 2 with code examples ... <a href="https://www.javabrahman.com/node-js/how-to-set-up-a-new-koa-2-app-for-rest-api-development-on-node-js/" class="more-link">Continue reading <span class="screen-reader-text">How to set up a new Koa 2 App for REST API development on Node.js</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/node-js/how-to-set-up-a-new-koa-2-app-for-rest-api-development-on-node-js</link><guid isPermaLink="false">how-to-set-up-a-new-koa-2-app-for-rest-api-development-on-node-js</guid><category><![CDATA[Node.js]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 14 Sep 2018 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 9  - How to create immutable collections using List.of, Set.of, Map.of, Map.ofEntries methods with examples]]></title><description><![CDATA[Tutorial explains how to create immutable collections using Java 9 Collections API\'s new factory methods  List.of(), Set.of(), Map.of(), Map.ofEntries() with examples ... <a href="https://www.javabrahman.com/java-9/java-9-how-to-create-immutable-collections-using-list-of-set-of-map-of-map-ofentries-methods-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 9  - How to create immutable collections using List.of, Set.of, Map.of, Map.ofEntries methods with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-9-beyond/java-9-how-to-create-immutable-collections-using-list-of-set-of-map-of-map-ofentries-methods-with-examples</link><guid isPermaLink="false">java-9-how-to-create-immutable-collections-using-list-of-set-of-map-of-map-ofentries-methods-with-examples</guid><category><![CDATA[Java 9 &amp; beyond...]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 24 Apr 2018 00:00:00 GMT</pubDate></item><item><title><![CDATA[Overview of New features in Java 10]]></title><description><![CDATA[Java 10 has been released on 20th March 2018. This article takes a look at the significant new features introduced in Java 10 ... <a href="https://www.javabrahman.com/java-10-java-11/overview-of-new-features-in-java-10/" class="more-link">Continue reading <span class="screen-reader-text">Overview of New features in Java 10</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-9-beyond/overview-of-new-features-in-java-10</link><guid isPermaLink="false">overview-of-new-features-in-java-10</guid><category><![CDATA[Java 9 &amp; beyond...]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 27 Mar 2018 00:00:00 GMT</pubDate></item><item><title><![CDATA[Node.js How to resolve error An exception occurred while executing watcher 'Pug/Jade'. Watcher has been disabled.]]></title><description><![CDATA[This quick error resolution tip shows how to resolve the error "An exception occurred while executing watcher 'Pug/Jade'. Watcher has been disabled. Fix it.: Invalid executable" when using File Watchers with Jade template files in Node.js/Express.js projects in Webstorm IDE  ... <a href="https://www.javabrahman.com/error-handling/node-js-how-to-resolve-error-an-exception-occurred-while-executing-watcher-pugjade-watcher-has-been-disabled/" class="more-link">Continue reading <span class="screen-reader-text">Node.js How to resolve error An exception occurred while executing watcher 'Pug/Jade'. Watcher has been disabled.</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/error-handling/node-js-how-to-resolve-error-an-exception-occurred-while-executing-watcher-pugjade-watcher-has-been-disabled</link><guid isPermaLink="false">node-js-how-to-resolve-error-an-exception-occurred-while-executing-watcher-pugjade-watcher-has-been-disabled</guid><category><![CDATA[Error Handling]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 11 Jul 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Understanding Thread Life Cycle, Thread States in Java | Tutorial with Examples]]></title><description><![CDATA[Tutorial takes an in-depth look at Java thread life cycle, individual thread states, the state information they encapsulate, and how transitions happen between these states  ... <a href="https://www.javabrahman.com/corejava/understanding-thread-life-cycle-thread-states-in-java-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Understanding Thread Life Cycle, Thread States in Java | Tutorial with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/understanding-thread-life-cycle-thread-states-in-java-tutorial-with-examples</link><guid isPermaLink="false">understanding-thread-life-cycle-thread-states-in-java-tutorial-with-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 19 Jun 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[What's new in latest version of Android Operating System - Android O]]></title><description><![CDATA[This article takes a look at the new features coming up in Android O. It covers important UX improvements nicknamed Fluid Experiences viz. Picture-in-Picture  ... <a href="https://www.javabrahman.com/latest-in-tech/whats-new-in-latest-version-of-android-operating-system-android-o/" class="more-link">Continue reading <span class="screen-reader-text">Functional Interfaces in Java 8 Explained</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/latest-in-tech/whats-new-in-latest-version-of-android-operating-system-android-o</link><guid isPermaLink="false">whats-new-in-latest-version-of-android-operating-system-android-o</guid><category><![CDATA[Latest in Tech]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 19 May 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java Multithreading Basics | Creating and running threads in Java with examples]]></title><description><![CDATA[Tutorial covers basic concepts of multithreading in Java with examples. It shows how to create threads in Java by extending Thread class and implementing Runnable interface with Java code examples showing thread creation and  ... <a href="https://www.javabrahman.com/corejava/java-multithreading-basics-creating-and-running-threads-in-java-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java Multithreading Basics | Creating and running threads in Java with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/java-multithreading-basics-creating-and-running-threads-in-java-with-examples</link><guid isPermaLink="false">java-multithreading-basics-creating-and-running-threads-in-java-with-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 17 May 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to delete a file or directory in Java using NIO API]]></title><description><![CDATA[Tutorial shows how to delete a file or directory in Java using NIO API's java.nio.file.Files class's delete() and deleteIfExists() methods, including method definition, exception  ... <a href="https://www.javabrahman.com/corejava/how-to-delete-a-file-or-directory-in-java-using-nio-api/" class="more-link">Continue reading <span class="screen-reader-text">How to delete a file or directory in Java using NIO API</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/how-to-delete-a-file-or-directory-in-java-using-nio-api</link><guid isPermaLink="false">how-to-delete-a-file-or-directory-in-java-using-nio-api</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 14 May 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to get file attributes or permissions using Java NIO with examples]]></title><description><![CDATA[This tutorial shows how to get the file attributes for a given file in Java with examples. It uses the <code class="nl-code-intext">Path</code> and <code class="nl-code-intext">Files</code> classes from the Java NIO API to fetch the attribute information  ... <a href="https://www.javabrahman.com/quick-tips/how-to-get-file-attributes-or-permissions-in-java-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">How to get file attributes or permissions in Java with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/quick-tips/how-to-get-file-attributes-or-permissions-in-java-with-examples</link><guid isPermaLink="false">how-to-get-file-attributes-or-permissions-in-java-with-examples</guid><category><![CDATA[Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 04 May 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to check for existence of a file in Java]]></title><description><![CDATA[This quick code tip shows how to check whether a file exists in Java. It uses the NIO API's java.nio.file.Path and java.nio.file.Files classes to determine whether a file at the given path in the file system exists or not  ... <a href="https://www.javabrahman.com/quick-tips/how-to-check-for-existence-of-a-file-in-java/" class="more-link">Continue reading <span class="screen-reader-text">How to check for existence of a file in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/quick-tips/how-to-check-for-existence-of-a-file-in-java</link><guid isPermaLink="false">how-to-check-for-existence-of-a-file-in-java</guid><category><![CDATA[Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 02 May 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Implementing Iterable interface in Java to enable for-each loop based iteration]]></title><description><![CDATA[This tutorial explains how to implement <code class="nl-code-intext">java.lang.Iterable&lt;T&gt;</code> on a class to enable <em>for-each loop</em> based iteration through the collection of objects stored in that class  ... <a href="https://www.javabrahman.com/corejava/implementing-iterable-interface-in-java-to-enable-for-each-loop-based-iteration/" class="more-link">Continue reading <span class="screen-reader-text">Implementing Iterable interface in Java to enable for-each loop based iteration</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/implementing-iterable-interface-in-java-to-enable-for-each-loop-based-iteration</link><guid isPermaLink="false">implementing-iterable-interface-in-java-to-enable-for-each-loop-based-iteration</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 01 May 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to count number of files in a directory in Java | File.list() vs NIO's DirectoryStream]]></title><description><![CDATA[This quick code tip how to count number of files in a directory in Java. It shows two approaches to code for the problem. First approach uses java.io.File class, while the second approach uses java.nio.file.Path and java.nio.file.DirectoryStream classes ... <a href="https://www.javabrahman.com/quick-tips/how-to-count-number-of-files-in-a-directory-in-java-file-list-vs-nios-directorystream/" class="more-link">Continue reading <span class="screen-reader-text">How to count number of files in a directory in Java | File.list() vs NIO's DirectoryStream</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/how-to-count-number-of-files-in-a-directory-in-java-file-list-vs-nios-directorystream</link><guid isPermaLink="false">how-to-count-number-of-files-in-a-directory-in-java-file-list-vs-nios-directorystream</guid><category><![CDATA[Core Java|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 28 Apr 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 How to use Collectors summarizingInt, summarizingLong, summarizingDouble with examples]]></title><description><![CDATA[Tutorial explains how to use Java 8's predefined collector Collectors.summarizingInt, Collectors.summarizingLong, Collectors.summarizingDouble with examples ... <a href="https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-summarizingint-summarizinglong-summarizingdouble-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 How to use Collectors summarizingInt, summarizingLong, summarizingDouble with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-summarizingint-summarizinglong-summarizingdouble-with-examples</link><guid isPermaLink="false">java-8-how-to-use-collectors-summarizingint-summarizinglong-summarizingdouble-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 24 Apr 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 – How to use Collectors.mapping Collector with examples]]></title><description><![CDATA[Tutorial explains how to use Java 8's predefined collector returned by Collectors.mapping() method with examples. It explains mapping collector's working, and provides two Java 8 code examples showing the collector's usage ... <a href="https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-mapping-collector-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 – Java 8 – How to use Collectors.mapping Collector with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-mapping-collector-with-examples</link><guid isPermaLink="false">java-8-how-to-use-collectors-mapping-collector-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 16 Apr 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[The Complete Java Enums Tutorial with Examples]]></title><description><![CDATA[This tutorial explains the fundamentals of Java enums with examples incl. defining enum types, defining enums, values(), valueOf() & ordinal() method are explained. Next the tutorial covers enum equality, followed by  ... <a href="https://www.javabrahman.com/corejava/the-complete-java-enums-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Functional Interfaces in Java 8 Explained</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/the-complete-java-enums-tutorial-with-examples</link><guid isPermaLink="false">the-complete-java-enums-tutorial-with-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 08 Apr 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 – How to use Collectors.toCollection Collector with examples]]></title><description><![CDATA[Tutorial explains how to use Java 8's predefined collector returned by Collectors.toCollection() method with examples. It explains toCollection Collector's working, and provides two Java 8 code examples showing how to implement ... <a href="https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-tocollection-collector-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 – How to use Collectors.toCollection Collector with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-tocollection-collector-with-examples</link><guid isPermaLink="false">java-8-how-to-use-collectors-tocollection-collector-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 08 Apr 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 How to use collectors averagingInt, averagingLong, averagingDouble with examples]]></title><description><![CDATA[Tutorial explains how to use Java 8's predefined collector Collectors.averagingInt, Collectors.averagingLong, Collectors.averagingDouble with examples ... <a href="https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-averagingint-averaginglong-averagingdouble-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 How to use Collectors averagingInt, averagingLong, averagingDouble with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-averagingint-averaginglong-averagingdouble-with-examples</link><guid isPermaLink="false">java-8-how-to-use-collectors-averagingint-averaginglong-averagingdouble-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 01 Apr 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to use Collectors.collectingAndThen Collector with examples]]></title><description><![CDATA[Tutorial explains how to use predefined collector Collectors.collectingAndThen() with examples, including explanation of collectingAndThen() method definition, two Java 8 code examples showing collectingAndThen collector usage, and explanation of the code  ... <a href="https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-collectingandthen-method-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to use Collectors.collectingAndThen Collector with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-use-collectors-collectingandthen-method-with-examples</link><guid isPermaLink="false">java-8-how-to-use-collectors-collectingandthen-method-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 26 Mar 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Grouping with Collectors | groupingBy method tutorial with examples]]></title><description><![CDATA[Tutorial on Java 8 groupingBy Collector with examples explains 3 groupingBy() methods in Collectors class with their definitions, diagrams of collecting process,  Java 8 code examples, and briefly looks at concurrent grouping by collectors  ... <a href="https://www.javabrahman.com/java-8/java-8-grouping-with-collectors-groupingby-method-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Grouping with Collectors | groupingBy method tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-grouping-with-collectors-groupingby-method-tutorial-with-examples</link><guid isPermaLink="false">java-8-grouping-with-collectors-groupingby-method-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 24 Mar 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to use range(), rangeClosed() methods of IntStream, LongStream with examples]]></title><description><![CDATA[This Java 8 tutorial explains with code examples, when and how to use static methods range(), rangeClosed() available in java.util.stream.IntStream, java.util.stream.LongStream interfaces to create a stream of numbers starting from a specified start value to an end value  ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-use-range-rangeclosed-methods-of-intstream-longstream-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to use range(), rangeClosed() methods of IntStream, LongStream with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-use-range-rangeclosed-methods-of-intstream-longstream-with-examples</link><guid isPermaLink="false">java-8-how-to-use-range-rangeclosed-methods-of-intstream-longstream-with-examples</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 16 Mar 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Joining with Collectors | Collectors.joining method tutorial with examples]]></title><description><![CDATA[Java 8 Joining with Collectors tutorial explains with examples how to use Collector returned by java.util.Stream.Collectors class' joining() method to concatenate string equivalents of all stream elements together. Tutorial covers 3 overloaded joining() methods  ... <a href="https://www.javabrahman.com/java-8/java-8-joining-with-collectors-collectors-joining-method-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Joining with Collectors | Collectors.joining method tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-joining-with-collectors-collectors-joining-method-tutorial-with-examples</link><guid isPermaLink="false">java-8-joining-with-collectors-collectors-joining-method-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 13 Mar 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java Program to check for Automorphic Number]]></title><description><![CDATA[This tutorial shows how to write Java program to check whether given number is automorphic number(or circular number)  ... <a href="https://www.javabrahman.com/gen-java-programs/java-program-to-check-for-automorphic-number/" class="more-link">Continue reading <span class="screen-reader-text">Java Program to check for Automorphic Number</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/gen-java-programs/java-program-to-check-for-automorphic-number</link><guid isPermaLink="false">java-program-to-check-for-automorphic-number</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 01 Mar 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Finding max/min with Collectors | maxBy, minBy methods tutorial with examples]]></title><description><![CDATA[Java 8 Finding max/min with Collectors tutorial explains, with examples, how to use the predefined Collector returned by java.util.Stream.Collectors class' maxBy() and minBy() methods to find the maximum and minimum element of a given Stream  ... <a href="https://www.javabrahman.com/java-8/java-8-finding-maxmin-with-collectors-maxby-minby-methods-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Finding max/min with Collectors | maxBy, minBy methods tutorial with examples</span> <span class="meta-nav">&rarr;</span>]]></description><link>https://www.javabrahman.com/java-8/java-8-finding-maxmin-with-collectors-maxby-minby-methods-tutorial-with-examples</link><guid isPermaLink="false">java-8-finding-maxmin-with-collectors-maxby-minby-methods-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 26 Feb 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Counting with Collectors | Collectors.counting method tutorial with examples]]></title><description><![CDATA[Java 8 Counting with Collectors tutorial explains, with examples, how to use the predefined Collector returned by java.util.Stream.Collectors class' counting() method to count the number of elements in a Stream  ... <a href="https://www.javabrahman.com/java-8/java-8-counting-with-collectors-collectors-counting-method-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Counting with Collectors | Collectors.counting method tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-counting-with-collectors-collectors-counting-method-tutorial-with-examples</link><guid isPermaLink="false">java-8-counting-with-collectors-collectors-counting-method-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 25 Feb 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Partitioning with Collectors | partitioningBy method tutorial with examples]]></title><description><![CDATA[Java 8 Partitioning with Collectors tutorial explains how to use the predefined Collector returned by partitioningBy() method of java.util.stream.Collectors class with examples incl. basic concepts of partitioning data in Streams with diagram, advantage of partitioning Streams with Collectors over filtering, partitioningBy() method's usage is explained with Java code example, overloaded  ... <a href="https://www.javabrahman.com/java-8/java-8-partitioning-with-collectors-partitioningby-method-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Partitioning with Collectors | partitioningBy method tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-partitioning-with-collectors-partitioningby-method-tutorial-with-examples</link><guid isPermaLink="false">java-8-partitioning-with-collectors-partitioningby-method-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 24 Feb 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - java.util.stream.Collector basics tutorial with examples]]></title><description><![CDATA[Tutorial explains fundamental concepts of Collectors including defintion of Collector and its responsibilities, components of a Collector, interface java.util.stream.Collector, how components of Collector use interface members, and Java code example showing usage of predefined Collector ... <a href="https://www.javabrahman.com/java-8/java-8-java-util-stream-collector-basics-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - java.util.stream.Collector basics tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-java-util-stream-collector-basics-tutorial-with-examples</link><guid isPermaLink="false">java-8-java-util-stream-collector-basics-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 13 Feb 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to use StringTokenizer to parse Strings into tokens in Java | Tutorial with examples]]></title><description><![CDATA[Tutorial explains how to use <strong>java.util.StringTokenizer</strong> class to parse a <strong>String</strong> containing delimited data tokens. It first explains what a <strong>StringTokenizer</strong> does along with the basic concepts of delimiters and tokens. Next it uses a Java code example to show ... <a href="https://www.javabrahman.com/corejava/how-to-use-stringtokenizer-to-parse-strings-into-tokens-in-java-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">How to use StringTokenizer to parse Strings into tokens in Java | Tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/how-to-use-stringtokenizer-to-parse-strings-into-tokens-in-java-tutorial-with-examples</link><guid isPermaLink="false">how-to-use-stringtokenizer-to-parse-strings-into-tokens-in-java-tutorial-with-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 06 Feb 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Understanding Java 8 Streams Operations | Intermediate and Terminal Operations | Tutorial with examples]]></title><description><![CDATA[Tutorial explains the structure and basics of Stream operations, including the important concepts of intermediate and terminal operations in Java 8 Streams with examples. It explains how the lazy execution of Stream operations for efficient and optimized execution. Lastly, it explains the two types of intermediate operations - stateful and stateless.  ... <a href="https://www.javabrahman.com/java-8/understanding-java-8-streams-operations-intermediate-and-terminal-operations-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Understanding Java 8 Streams Operations | Intermediate and Terminal Operations | Tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/understanding-java-8-streams-operations-intermediate-and-terminal-operations-tutorial-with-examples</link><guid isPermaLink="false">understanding-java-8-streams-operations-intermediate-and-terminal-operations-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 30 Jan 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java program to convert from Fahrenheit to Celsius with examples]]></title><description><![CDATA[Tutorial explains how to write a java program to convert from Fahrenheit to Celsius, and Celsius to Fahrenheit, incl. formulae for conversion between two temperature scales, java code implementing the conversion and explanation of the code.]]></description><link>https://www.javabrahman.com/gen-java-programs/java-program-to-convert-from-fahrenheit-to-celsius-with-examples</link><guid isPermaLink="false">java-program-to-convert-from-fahrenheit-to-celsius-with-examples</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 25 Jan 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Converting an Array to List(or ArrayList) in Java - Options and their analysis]]></title><description><![CDATA[This tutorial takes an in-depth look to analyze the three most commonly used options for converting an array to an arraylist, along with the limitations and applicability of each of these options ]]></description><link>https://www.javabrahman.com/corejava/converting-an-array-to-listor-arraylist-in-java-options-and-their-analysis</link><guid isPermaLink="false">converting-an-array-to-listor-arraylist-in-java-options-and-their-analysis</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 23 Jan 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 java.time.temporal. TemporalAdjuster tutorial with examples]]></title><description><![CDATA[Tutorial explains Java 8's new  java.time.temporal.TemporalAdjuster with examples including its purpose, predefined implementations in TemporalAdjusters class, two methods Temporal.with(), TemporalAdjuster.adjustInto(), and implementation of a custom TemporalAdjuster using lambda expressions  ... <a href="https://www.javabrahman.com/java-8/java-8-java-time-temporal-temporaladjuster-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 java.time.temporal.TemporalAdjuster tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-java-time-temporal-temporaladjuster-tutorial-with-examples</link><guid isPermaLink="false">java-8-java-time-temporal-temporaladjuster-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 13 Jan 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to get Day of Week, Month in Spanish, French for any date using Locale]]></title><description><![CDATA[Java 8 code tip shows how to get localized day of week and month for a date(LocalDate/LocalDateTime) in French and Spanish using java.util.Locale  ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-get-day-of-week-month-in-spanish-french-for-any-date-using-locale/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to Day of Week, Month in Spanish, French for any date using Locale</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-get-day-of-week-month-in-spanish-french-for-any-date-using-locale</link><guid isPermaLink="false">java-8-how-to-get-day-of-week-month-in-spanish-french-for-any-date-using-locale</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 02 Jan 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to get day of week for a given date using java.time.DayOfWeek with examples]]></title><description><![CDATA[How to get day of week for a given date using Java 8's java.time.DayOfWeek with examples, and how to apply conditional logic based on Day Of Week value fetched  ... <a href="https://www.javabrahman.com/java-8/java-8-how-to-get-day-of-week-for-a-given-date-using-java-time-dayofweek-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to get day of week for a given date using java.time.DayOfWeek with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-get-day-of-week-for-a-given-date-using-java-time-dayofweek-with-examples</link><guid isPermaLink="false">java-8-how-to-get-day-of-week-for-a-given-date-using-java-time-dayofweek-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 02 Jan 2017 00:00:00 GMT</pubDate></item><item><title><![CDATA[Understanding equals and hashcode contract when using collections in Java]]></title><description><![CDATA[Tutorial explains contract defined for overriding java.lang.Object's equals() and hashcode() methods, and its importance when storing objects in java collections. It uses an example HashSet instance, implements equals() and hashcode() methods for stored objects' class, and explains hashing concepts driving the hashcode's working with an example scenario  ... <a href="https://www.javabrahman.com/corejava/understanding-equals-and-hashcode-contract-when-using-collections-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Understanding equals and hashcode contract when using collections in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/understanding-equals-and-hashcode-contract-when-using-collections-in-java</link><guid isPermaLink="false">understanding-equals-and-hashcode-contract-when-using-collections-in-java</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 26 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to get IP Address and Hostname in Java using InetAddress with example]]></title><description><![CDATA[Tutorial explains how to <strong>get IP address and hostname</strong> in Java of the localhost or server machine using java.net.<strong>InetAddress</strong> class with <strong>InetAddress.getIpAddress()</strong> and <strong>InetAddress.getHostname()</strong> methods with java code example  ... <a href="https://www.javabrahman.com/quick-tips/how-to-get-ip-address-and-hostname-in-java-using-inetaddress-with-example/" class="more-link">Continue reading <span class="screen-reader-text">How to get IP Address and Hostname in Java using InetAddress with example</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/how-to-get-ip-address-and-hostname-in-java-using-inetaddress-with-example</link><guid isPermaLink="false">how-to-get-ip-address-and-hostname-in-java-using-inetaddress-with-example</guid><category><![CDATA[Core Java|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 24 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java program for matrix multiplication of dynamically sized matrices]]></title><description><![CDATA[Java program for multiplying 2 dynamically sized matrices first explains the formula for multiplying 2 matrices, shows an example multiplication and provides java implementation of matrix multiplication with detailed explanation  ... <a href="https://www.javabrahman.com/gen-java-programs/java-program-for-matrix-multiplication-of-dynamically-sized-matrices/" class="more-link">Continue reading <span class="screen-reader-text">Java program for matrix multiplication of dynamically sized matrices</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/gen-java-programs/java-program-for-matrix-multiplication-of-dynamically-sized-matrices</link><guid isPermaLink="false">java-program-for-matrix-multiplication-of-dynamically-sized-matrices</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 23 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - Working with LocalDate, LocalTime, LocalDateTime - tutorial with examples]]></title><description><![CDATA[Java 8 tutorial explains how to use LocalDate, LocalTime, LocalDateTime with examples. It explains purpose, immutability, instance creation, modification and fetching of Local Date Time classes of java.time package  ... <a href="https://www.javabrahman.com/java-8/java-8-working-with-localdate-localtime-localdatetime-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - Working with LocalDate, LocalTime, LocalDateTime - tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-working-with-localdate-localtime-localdatetime-tutorial-with-examples</link><guid isPermaLink="false">java-8-working-with-localdate-localtime-localdatetime-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 19 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java program for matrix addition of dynamically sized matrices]]></title><description><![CDATA[ This tutorial first explains the concept of matrix addition. It then provides the Java code for adding 2 matrices of any size or dynamically-sized matrices .... <a href="https://www.javabrahman.com/gen-java-programs/java-program-for-matrix-addition-of-dynamically-sized-matrices/" class="more-link">Continue reading <span class="screen-reader-text">Java program for matrix addition of dynamically sized matrices</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/gen-java-programs/java-program-for-matrix-addition-of-dynamically-sized-matrices</link><guid isPermaLink="false">java-program-for-matrix-addition-of-dynamically-sized-matrices</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 18 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to get last day / last working day of a month as LocalDate]]></title><description><![CDATA[This Java 8 coding tip first shows how to get the <strong>last day of a given month</strong> as a java.time.<strong>LocalDate</strong> instance. It then shows how to get the <strong>last working day of a month</strong> as a LocalDate when considering a 5-day work-week with Saturday and Sunday as weekly off days  ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-get-last-day-last-working-day-of-a-month-as-localdate/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to get last day / last working day of a month as LocalDate</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-get-last-day-last-working-day-of-a-month-as-localdate</link><guid isPermaLink="false">java-8-how-to-get-last-day-last-working-day-of-a-month-as-localdate</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 17 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java program to check if a number is Harshad Number or Niven number]]></title><link>https://www.javabrahman.com/gen-java-programs/java-program-to-check-if-a-number-is-harshad-number-or-niven-number</link><guid isPermaLink="false">java-program-to-check-if-a-number-is-harshad-number-or-niven-number</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 16 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Cloning in Java | Shallow Copy and Deep Copy tutorial with examples]]></title><description><![CDATA[This tutorial defines <strong>cloning in java</strong>, explains main classes and interfaces participating in cloning, shows how to make <strong>shallow copies using super.clone()</strong> with a java code example, explains disadvantage of shallow copying, and then shows how to <strong>create deep copies</strong> with java code example, and detailed explanation of code  ... <a href="https://www.javabrahman.com/corejava/cloning-in-java-shallow-copy-and-deep-copy-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Cloning in Java | Shallow Copy and Deep Copy tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/cloning-in-java-shallow-copy-and-deep-copy-tutorial-with-examples</link><guid isPermaLink="false">cloning-in-java-shallow-copy-and-deep-copy-tutorial-with-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 13 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Just Pick up and Walk Out with Amazon Go | Tech-enabled futuristic retail stores have arrived]]></title><description><![CDATA[Article gives an overview of the technology  enabling the futuristic Amazon Go stores including the customer interaction flow inside the store  ... <a href="https://www.javabrahman.com/latest-in-tech/just-pick-up-and-walk-out-with-amazon-go-tech-enabled-futuristic-retail-stores-have-arrived/" class="more-link">Continue reading <span class="screen-reader-text">Just Pick up and Walk Out with Amazon Go | Tech-enabled futuristic retail stores have arrived</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/latest-in-tech/just-pick-up-and-walk-out-with-amazon-go-tech-enabled-futuristic-retail-stores-have-arrived</link><guid isPermaLink="false">just-pick-up-and-walk-out-with-amazon-go-tech-enabled-futuristic-retail-stores-have-arrived</guid><category><![CDATA[Latest in Tech]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 11 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to convert java.util.TimeZone to java.time.ZoneId in Java 8 | tutorial with examples]]></title><description><![CDATA[Tutorial shows how to convert from <strong>java.util.TimeZone</strong> to <strong>java.time.ZoneId</strong> in Java 8 with examples. It also shows how to convert from a <strong>ZoneId</strong> to a <strong>TimeZone</strong>  ... <a href="https://www.javabrahman.com/quick-tips/how-to-convert-java-util-timezone-to-java-time-zoneid-in-java-8-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">How to convert java.util.TimeZone to java.time.ZoneId in Java 8 | tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/how-to-convert-java-util-timezone-to-java-time-zoneid-in-java-8-tutorial-with-examples</link><guid isPermaLink="false">how-to-convert-java-util-timezone-to-java-time-zoneid-in-java-8-tutorial-with-examples</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 10 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Overview of Java 8's new Date-Time API | java.time package tutorial]]></title><description><![CDATA[Tutorial introduces <strong>Java 8's new Date Time API, or java.time package,</strong> explains the motivation for building the new API, API's core design ideas, lists out Java 8's important Date-Time classes with links to individual tutorials for each  ... <a href="https://www.javabrahman.com/java-8/overview-of-java-8-new-date-time-api-java-time-package-tutorial/" class="more-link">Continue reading <span class="screen-reader-text">Overview of Java 8's New Date-Time API | java.time package tutorial</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/overview-of-java-8-new-date-time-api-java-time-package-tutorial</link><guid isPermaLink="false">overview-of-java-8-new-date-time-api-java-time-package-tutorial</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 09 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java - How to resolve compiler error - clone() has protected access in java.lang.Object]]></title><description><![CDATA[Java - How to resolve compiler error - <strong>clone() has protected access in java.lang.Object</strong>  ... <a href="https://www.javabrahman.com/error-handling/java-resolve-compiler-error-clone-protected-access-java-lang-object/" class="more-link">Continue reading <span class="screen-reader-text">Java - How to resolve compiler error - clone() has protected access in java.lang.Object</span> <span class="meta-nav">&rarr;</span></a>
]]></description><link>https://www.javabrahman.com/error-handling/java-resolve-compiler-error-clone-protected-access-java-lang-object</link><guid isPermaLink="false">java-resolve-compiler-error-clone-protected-access-java-lang-object</guid><category><![CDATA[Error Handling]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 02 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Iterative and Recursive Binary Search Algorithm Implementation in Java]]></title><description><![CDATA[In this tutorial on binary search algorithm implementation in java, we will start by looking at how the binary search algorithm works, understand the various steps of the algorithm, and its two variants - iterative and recursive binary search implementations in java ... <a href="https://www.javabrahman.com/algorithms-in-java/iterative-and-recursive-binary-search-algorithm-implementation-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Iterative and Recursive Binary Search Algorithm implementation in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/algorithms-in-java/iterative-and-recursive-binary-search-algorithm-implementation-in-java</link><guid isPermaLink="false">iterative-and-recursive-binary-search-algorithm-implementation-in-java</guid><category><![CDATA[Algorithms &amp; DS in Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 01 Dec 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Working with Time Zones in Java 8 | ZonedDateTime, ZoneId tutorial with examples]]></title><description><![CDATA[Tutorial on time zones handling in Java 8 includes overview of time zone handling classes in Java 8, especially <strong>ZonedDateTime</strong> and <strong>ZoneId</strong> classes, and practical Java 8 code examples of scenarios showing how to use time zones in code  ... <a href="https://www.javabrahman.com/java-8/working-with-time-zones-in-java-8-zoneddatetime-zoneid-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Working with Time Zones in Java 8 | ZonedDateTime, ZoneId tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/working-with-time-zones-in-java-8-zoneddatetime-zoneid-tutorial-with-examples</link><guid isPermaLink="false">working-with-time-zones-in-java-8-zoneddatetime-zoneid-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 30 Nov 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to convert java.util.Date to java.time.LocalDate, java.time.LocalDateTime with examples]]></title><description><![CDATA[Quick Java 8 coding tip shows how to convert <strong>java.util.Date</strong> to <strong>java.time.LocalDate</strong> and <strong>java.time.LocalDateTime</strong> with examples ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-convert-java-util-date-to-java-time-localdate-java-time-localdatetime-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to convert java.util.Date to java.time.LocalDate, java.time.LocalDateTime with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-convert-java-util-date-to-java-time-localdate-java-time-localdatetime-with-examples</link><guid isPermaLink="false">java-8-how-to-convert-java-util-date-to-java-time-localdate-java-time-localdatetime-with-examples</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 30 Nov 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to 'peek' into a running Stream| Stream.peek method tutorial with examples]]></title><description><![CDATA[This tutorial looks at <strong>Java 8 Stream API's peek() method</strong> in depth. It first explains the <strong>Stream.peek()</strong> method's definition and intended use.This will be followed by understanding the <strong>method's intermediate and non-interfering nature</strong>. Lastly, we will look at the Java 8 code showing a working example  ... <a href="https://www.javabrahman.com/java-8/java-8-how-to-peek-into-a-running-stream-peek-method-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to 'peek' into a running Stream| Stream.peek method tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-peek-into-a-running-stream-peek-method-tutorial-with-examples</link><guid isPermaLink="false">java-8-how-to-peek-into-a-running-stream-peek-method-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 09 Nov 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - Map's computeIfAbsent, computeIfPresent, getOrDefault methods tutorial with examples]]></title><description><![CDATA[<strong>In this 4<sup>th</sup> and last part of Java 8 Collection Enhancements Series</strong>, I have covered the new default methods introduced in Map interface in Java 8. We start off with understanding the concept of multi-value maps. Next the tutorial covers the definition and usage of 5 new default methods in Java 8's Map interface - <strong>forEach()</strong>, <strong>replaceAll()</strong>, <strong>computeIfAbsent()</strong>, <strong>computeIfPresent()</strong> and <strong>getOrDefault()</strong> method  ... <a href="https://www.javabrahman.com/java-8/java-8-maps-computeifabsent-computeifpresent-getordefault-methods-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - Map's computeIfAbsent, computeIfPresent, getOrDefault methods tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-maps-computeifabsent-computeifpresent-getordefault-methods-tutorial-with-examples</link><guid isPermaLink="false">java-8-maps-computeifabsent-computeifpresent-getordefault-methods-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 04 Nov 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - List.sort, List.replaceAll methods tutorial with examples]]></title><description><![CDATA[<strong>In this part 3 of 4 part Java 8 Collection Enhancements Series</strong>, I will be looking at <strong>java.util.List</strong> interface and will explain the new default methods which have been introduced in the interface in Java 8 viz. <strong>List.sort()</strong> and <strong>List.replaceAll()</strong>. We will understand the working of these two methods along with understanding their usage with examples ....  ... <a href="https://www.javabrahman.com/java-8/java-8-list-sort-list-replaceall-methods-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - List.sort, List.replaceAll methods tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-list-sort-list-replaceall-methods-tutorial-with-examples</link><guid isPermaLink="false">java-8-list-sort-list-replaceall-methods-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 27 Oct 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 9 released on 21-Sep-2017 after several rounds of delays]]></title><description><![CDATA[Java 9 is set for a second delay in the span of little more than a year. Instead of the targeted March 2017 GA release date, it is now being proposed to extend the timelines to July 2017  ... <a href="https://www.javabrahman.com/java-9/java-9-release-set-delayed-4-months-july-2017-courtesy-jigsaw/" class="more-link">Continue reading <span class="screen-reader-text">Java 9 release set to be further delayed for 4 months to July 2017 courtesy Jigsaw</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-9-beyond/java-9-release-set-delayed-4-months-july-2017-courtesy-jigsaw</link><guid isPermaLink="false">java-9-release-set-delayed-4-months-july-2017-courtesy-jigsaw</guid><category><![CDATA[Java 9 &amp; beyond...]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 26 Oct 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - Collection.removeIf method tutorial with examples]]></title><description><![CDATA[<strong>In this part 2 of 4 part Java 8 Collection Enhancements Series</strong>, I will be explaining the new default method <strong>removeIf()</strong> which has been added to the <strong>java.util.Collection</strong> interface. We will start off with looking at how element removal from a Collection worked until Java 7. We will then look at the new <strong>Collection.removeIf()</strong> method introduced in Java 8. We will also understand the  performance improvement ... <a href="https://www.javabrahman.com/java-8/java-8-collection-removeif-method-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - Collection.removeIf method tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-collection-removeif-method-tutorial-with-examples</link><guid isPermaLink="false">java-8-collection-removeif-method-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 25 Oct 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - Iterable.forEach, Iterator.remove methods tutorial with examples]]></title><description><![CDATA[<strong>In this part 1 of 4 part Java 8 Collection Enhancements Series</strong>, I will be covering the new default method named <em>forEach()</em> introduced in <em>java.lang.Iterable</em> interface with examples. This will be followed by understanding the new <strong>default implementation of Iterator interface's <em>remove()</em> method</strong>, and how it makes implementing the Iterator easier than before  ... <a href="https://www.javabrahman.com/java-8/java-8-iterable-foreach-iterator-remove-methods-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - Iterable.forEach, Iterator.remove methods tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-iterable-foreach-iterator-remove-methods-tutorial-with-examples</link><guid isPermaLink="false">java-8-iterable-foreach-iterator-remove-methods-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 21 Oct 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java program to check for an Armstrong Number]]></title><link>https://www.javabrahman.com/gen-java-programs/java-program-check-armstrong-number</link><guid isPermaLink="false">java-program-check-armstrong-number</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 17 Oct 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[5 Best Books for learning Java 8 Reviewed]]></title><description><![CDATA[Java has undergone a major change with the release of JDK 1.8. A whole array of Functional Programming features have been added to it. I have been blogging on the new features of Java 8 for over an year now and during this time I have referenced popular Java 8 books available. The below <strong>review of 5 best books for learning Java 8 is based on my experience with reading and referring each of these books</strong>  ... <a href="https://www.javabrahman.com/java-8/5-best-books-learning-java-8-reviewed/" class="more-link">Continue reading <span class="screen-reader-text">5 Best Books for learning Java 8 Reviewed</span> <span class="meta-nav">&rarr;</span></a>
]]></description><link>https://www.javabrahman.com/java-8/5-best-books-learning-java-8-reviewed</link><guid isPermaLink="false">5-best-books-learning-java-8-reviewed</guid><category><![CDATA[Java 8|Reviews]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 17 Oct 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java program to check if number or string is a palindrome]]></title><description><![CDATA[<em>Introduction</em> - This tutorial first defines a palindrome. It then provides a short algorithm to determine whether a sequence of characters or numbers is a palindrome. Lastly, it provides the Java code for determining whether the given number or string is a palindrome or not along with explanation of the code  ... <a href="https://www.javabrahman.com/gen-java-programs/java-program-check-if-number-string-is-palindrome/" class="more-link">Continue reading <span class="screen-reader-text">Functional Interfaces in Java 8 Explained</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/gen-java-programs/java-program-check-if-number-string-is-palindrome</link><guid isPermaLink="false">java-program-check-if-number-string-is-palindrome</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 06 Oct 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to convert String to LocalDate and LocalDate to String in specific format]]></title><description><![CDATA[This Java 8 code tip first shows <strong>how to convert</strong> <code style="font-weight:600;">String</code> <strong>date to</strong> <code style="font-weight:600;">java.time.LocalDate</code> instance using the <code style="font-weight:600;">parse()</code> method of <code style="font-weight:600;">java.time.DateTimeFormatter</code> class. It then shows how to use the <code style="font-weight:600;">format()</code> method of <code style="font-weight:600;">LocalDate</code> class to <strong>convert <code>LocalDate</code> instance to a <code>String</code></strong> in the specified format.  ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-convert-string-to-localdate-and-localdate-to-string-in-specific-format/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to convert String to LocalDate and LocalDate to String in specific format</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-convert-string-to-localdate-and-localdate-to-string-in-specific-format</link><guid isPermaLink="false">java-8-how-to-convert-string-to-localdate-and-localdate-to-string-in-specific-format</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 28 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to count words in a text file in Java using NIO and Streams API]]></title><description><![CDATA[This quick code tip shows how you can use Java 8 Streams API along with NIO API to count number of words in a text file with a single line of pipelined Stream instructions  ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-count-words-in-a-text-file-in-java-using-nio-and-streams-api/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to count words in a text file in java using NIO and Streams API</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-count-words-in-a-text-file-in-java-using-nio-and-streams-api</link><guid isPermaLink="false">java-8-how-to-count-words-in-a-text-file-in-java-using-nio-and-streams-api</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 22 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Reducing with Streams | reduce method tutorial with examples]]></title><description><![CDATA[<em>Introduction</em> - Java 8 Reducing with Streams tutorial starts with explaining the <strong>concept of reducing in Streams</strong>. It then looks at the <strong>Streams API's</strong> <code style="font-weight:600;">reduce()</code> <strong>method</strong> and how it can be used to <strong>perform reduction operations on streams of data</strong>. <strong>Java 8 code examples</strong> are used to demonstrate the method's usage ... <a href="https://www.javabrahman.com/java-8/java-8-reducing-with-streams-reduce-method-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Reducing with Streams | reduce method tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-reducing-with-streams-reduce-method-tutorial-with-examples</link><guid isPermaLink="false">java-8-reducing-with-streams-reduce-method-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 21 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Radix Sort Algorithm-Whiteboard Video Tutorial with Java Code Walkthrough]]></title><description><![CDATA[<em">Introduction</em> - This is a YouTube video tutorial showing the working of Radix Sort Algorithm with whiteboard animation. It also does a detailed code walk-through of Radix Sort implementation in Java. The code shown in the video is present in the post for reference ...  ... <a href="https://www.javabrahman.com/algorithms-in-java/radix-sort-algorithm-whiteboard-video-tutorial-with-java-code-walkthrough/" class="more-link">Continue reading <span class="screen-reader-text">Radix Sort Algorithm-Whiteboard Video Tutorial with Java Code Walkthrough</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/algorithms-in-java/radix-sort-algorithm-whiteboard-video-tutorial-with-java-code-walkthrough</link><guid isPermaLink="false">radix-sort-algorithm-whiteboard-video-tutorial-with-java-code-walkthrough</guid><category><![CDATA[Algorithms &amp; DS in Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 20 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Streams API - creating infinite streams with iterate and generate methods]]></title><description><![CDATA[<em>Introduction</em> - This tutorial explains how to create infinite streams using the Java 8 <strong>Stream API's</strong> <code style="font-weight:600;">iterate()</code> and <code style="font-weight:600;">generate()</code> methods with examples to show their usage  ... <a href="https://www.javabrahman.com/java-8/java-8-streams-api-creating-infinite-streams-with-iterate-and-generate-methods/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Streams API - creating infinite streams with iterate and generate methods</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-streams-api-creating-infinite-streams-with-iterate-and-generate-methods</link><guid isPermaLink="false">java-8-streams-api-creating-infinite-streams-with-iterate-and-generate-methods</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 17 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Streams API - findAny, findFirst methods tutorial with examples]]></title><description><![CDATA[<em>Introduction</em> - This tutorial explains the Java 8 <strong>Stream API's</strong> <code style="font-weight:600;">findAny()</code> and <code style="font-weight:600;">findFirst()</code> methods with examples to show their usage  ... <a href="https://www.javabrahman.com/java-8/java-8-finding-with-streams-findfirst-findany-methods-tutorial-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Streams API - findAny, findFirst methods tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-finding-with-streams-findfirst-findany-methods-tutorial-examples</link><guid isPermaLink="false">java-8-finding-with-streams-findfirst-findany-methods-tutorial-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 16 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to perform elementary Date-Time calculations in Java 8]]></title><description><![CDATA[This quick Java Code tip shows how to perform the most commonly used and elementary Date-Time calculations viz. addition and subtraction of days, months, years, hours, minutes, seconds and nanoseconds using the Java 8 classes <em>LocalDate</em>, <em>LocalTime</em> and <em>LocalDateTime</em>  ... <a href="https://www.javabrahman.com/quick-tips/perform-elementary-date-time-calculations-java-8/" class="more-link">Continue reading <span class="screen-reader-text">How to perform elementary Date-Time calculations in Java 8</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/perform-elementary-date-time-calculations-java-8</link><guid isPermaLink="false">perform-elementary-date-time-calculations-java-8</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 13 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Matching with Streams | allMatch, anyMatch, noneMatch methods tutorial with examples]]></title><description><![CDATA[<em>Introduction</em> - Java 8 Matching with Streams tutorial explains how to match elements in a stream using the allMatch, anyMatch and noneMatch methods provided by the Streams API. It uses detailed code examples to show the usage of each of the Stream API's methods for matching  ... <a href="https://www.javabrahman.com/java-8/java-8-matching-with-streams-allmatch-anymatch-nonematch-methods-tutorial-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Matching with Streams - allMatch, anyMatch, noneMatch methods tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-matching-with-streams-allmatch-anymatch-nonematch-methods-tutorial-examples</link><guid isPermaLink="false">java-8-matching-with-streams-allmatch-anymatch-nonematch-methods-tutorial-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 10 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java - How to resolve error java.nio.file.NoSuchFileException]]></title><description><![CDATA[This quick coding tip explains how to resolve error <code style="font-size:17px;font-weight:600;">java.nio.file.NoSuchFileException</code> when using NIO API in Java  ... <a href="https://www.javabrahman.com/java-8/functional-interfaces-java-8/" class="more-link">Continue reading <span class="screen-reader-text">Functional Interfaces in Java 8 Explained</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/error-handling/java-resolve-error-java-nio-file-nosuchfileexception</link><guid isPermaLink="false">java-resolve-error-java-nio-file-nosuchfileexception</guid><category><![CDATA[Error Handling]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 07 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java - How to recursively list all files and subdirectories in a directory with examples]]></title><description><![CDATA[This code tip shows how to use Java NIO API to recursively list all sub-directories and files in a given directory...<a href="https://www.javabrahman.com/quick-tips/java-recursively-list-files-subdirectories-directory-examples/" class="more-link">Continue reading <span class="screen-reader-text">How to recursively list all files in a directory in Java with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/java-recursively-list-files-subdirectories-directory-examples</link><guid isPermaLink="false">java-recursively-list-files-subdirectories-directory-examples</guid><category><![CDATA[Core Java|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 06 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Once ubiquitous Applet is finally being prepped for an exit come Java 9]]></title><description><![CDATA[The Java Applet, which fuelled the first dot com bubble at the turn of the century will be deprecated in Java 9  via JEP-289. This editorial piece looks at the journey of the Applets down the years ... <a href="https://www.javabrahman.com/java-9/ubiquitous-applet-finally-prepped-exit-come-java-9/" class="more-link">Continue reading <span class="screen-reader-text">Once ubiquitous Applet is finally been prepped for an exit come Java 9</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-9-beyond/ubiquitous-applet-finally-prepped-exit-come-java-9</link><guid isPermaLink="false">ubiquitous-applet-finally-prepped-exit-come-java-9</guid><category><![CDATA[Java 9 &amp; beyond...]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 05 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to copy or move a file in Java from one location to another with examples]]></title><description><![CDATA[This quick code tip shows how to use Java NIO API to copy or move a file from one location in the file system to another.]]></description><link>https://www.javabrahman.com/corejava/copy-move-file-java-one-location-another-examples</link><guid isPermaLink="false">copy-move-file-java-one-location-another-examples</guid><category><![CDATA[Core Java|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 04 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to Print array in Java using Arrays.toString, Arrays.deepToString, Arrays.stream methods]]></title><description><![CDATA[This quick coding tip shows how to print array in Java for both one dimensional and multi-dimensional arrays  ... <a href="https://www.javabrahman.com/quick-tips/how-to-print-array-in-java-using-arrays-tostring-deeptostring-stream-methods/" class="more-link">Continue reading <span class="screen-reader-text">How to Print array in Java using Arrays.toString,Arrays.deepToString, Arrays.stream methods</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/how-to-print-array-in-java-using-arrays-tostring-deeptostring-stream-methods</link><guid isPermaLink="false">how-to-print-array-in-java-using-arrays-tostring-deeptostring-stream-methods</guid><category><![CDATA[Core Java|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 03 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[The Complete Java 8 Comparator Tutorial with examples]]></title><description><![CDATA[ In this tutorial, we will first take a quick look at how Comparators were used before Java 8. We will then understand how <em>java.util.Comparator</em> has evolved into an enhanced comparison and ordering utility in Java 8.Comparators in Java 8 now support <em>declarations via lambda expressions as it is a Functional Interface</em>. Comparator has a new method <em>comparing()</em> which uses uses an instance of <em>java.util.function.Function</em> functional interface, specified using lambda expression or its equivalent method reference, for <em>Comparator</em> instance creation. In addition, multiple sort criteria can now be clubbed using <em>comparing()</em> with a <em>thenComparing()</em> method. The range of new capabilities is rounded off with methods for using natural comparison order, null-valued sort key handling and sort order reversal ... <a href="https://www.javabrahman.com/java-8/the-complete-java-8-comparator-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">The Complete Java 8 Comparator Tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/the-complete-java-8-comparator-tutorial-with-examples</link><guid isPermaLink="false">the-complete-java-8-comparator-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 02 Sep 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to get user's current working directory or Java Execution Path]]></title><description><![CDATA[In this quick coding tip we will see how to get user's current working directory or Java execution path using java.lang.System class. ... <a href="https://www.javabrahman.com/quick-tips/how-to-get-java-execution-path-or-user-current-working-directory/" class="more-link">Continue reading <span class="screen-reader-text">How to get user's current working directory or Java Execution Path</span> <span class="meta-nav">&rarr;</span></a>
]]></description><link>https://www.javabrahman.com/corejava/how-to-get-java-execution-path-or-user-current-working-directory</link><guid isPermaLink="false">how-to-get-java-execution-path-or-user-current-working-directory</guid><category><![CDATA[Core Java|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 24 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[java 8 - how to calculate difference between two dates or java.time.LocalDate instances]]></title><description><![CDATA[This quick code reference tip with explanation first shows how to calculate the difference between two dates represented by two <em>java.time.LocalDate</em> instances using <em>java.time.Period</em> class. It then shows how to get the interval between the two <em>LocalDate</em> instances in hours, days and years using <em>java.time.temporal.ChronoUnit</em> class ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-calculate-difference-between-two-java-time-localdate-instances/" class="more-link">Continue reading <span class="screen-reader-text">java 8 - how to calculate difference between two java.time.LocalDate instances</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-calculate-difference-between-two-java-time-localdate-instances</link><guid isPermaLink="false">java-8-how-to-calculate-difference-between-two-java-time-localdate-instances</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 22 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 - How to get current timestamp using java.time.Instant]]></title><description><![CDATA[This quick coding tip shows how to get machine or system timestamp in Java 8 using java.time.Instant instance and convert it to the desired timezone with the help of an example. ... <a href="https://www.javabrahman.com/quick-tips/java-8-how-to-get-current-machine-timestamp-using-java-time-instant/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - How to get current machine timestamp using java.time.Instant</span> <span class="meta-nav">&rarr;</span></a>
]]></description><link>https://www.javabrahman.com/java-8/java-8-how-to-get-current-machine-timestamp-using-java-time-instant</link><guid isPermaLink="false">java-8-how-to-get-current-machine-timestamp-using-java-time-instant</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 21 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 code to convert Stream to Array using Stream.toArray method]]></title><description><![CDATA[In this programming quick tip we will see the Java 8 code for converting from a java.util.stream.Stream&lt;T&gt; to an array of type T using <code>Stream.toArray()</code> method with explanation of the code. ... <a href="https://www.javabrahman.com/quick-tips/https://www.javabrahman.com/quick-tips/java-8-code-convert-stream-array-using-stream-toarray-method/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 code to convert Stream to Array using Stream.toArray method</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-code-convert-stream-array-using-stream-toarray-method</link><guid isPermaLink="false">java-8-code-convert-stream-array-using-stream-toarray-method</guid><category><![CDATA[Java 8|Quick Coding Tips]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 21 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Dependency Inversion Principle explained with example in Java]]></title><description><![CDATA[This tutorial explains the concepts of Dependency Inversion Principle - which represents 'D' among the set of 5 S.O.L.I.D (an acronym) design principles. It starts by defining the dependency inversion principle followed by explanation of the principle using diagrams showing modular dependencies. We will then take a look at the advantage which is obtained when using the Dependency Inversion Principle. Next, the use of Adapter Pattern in enabling the use of the principle in some cases is discussed. This is followed by a Java example demonstrating  ... <a href="https://www.javabrahman.com/programming-principles/dependency-inversion-principle-example-java/" class="more-link">Continue reading <span class="screen-reader-text">Dependency Inversion Principle explained with example in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/dependency-inversion-principle-example-java</link><guid isPermaLink="false">dependency-inversion-principle-example-java</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 17 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Deprecation in Java, @Deprecated annotation and Javadoc tag tutorial with examples]]></title><description><![CDATA[This tutorial starts by understanding deprecation and the reasons for deprecation in Java. We will then look at @Deprecated annotation (java.lang.Deprecated) which is used to mark an API's program elements as deprecated. Next we take a quick look at which program elements can be annotated with @Deprecated followed by a Java code snippet demonstrating @Deprecated annotation's use. We will then look at the @deprecated Javadoc tag followed by a code snippet showing how @deprecated Javadoc tag should be used   ... <a href="https://www.javabrahman.com/core-java/deprecation-java-deprecated-annotation-javadoc-tag-tutorial-examples/" class="more-link">Continue reading <span class="screen-reader-text">Deprecation in Java, @Deprecated annotation and Javadoc tag tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/deprecation-java-deprecated-annotation-javadoc-tag-tutorial-examples</link><guid isPermaLink="false">deprecation-java-deprecated-annotation-javadoc-tag-tutorial-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 16 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Interface Segregation Principle explained with example in Java]]></title><description><![CDATA[This tutorial explains the Interface Segregation Principle with example in Java. It first looks at the definition of the interface segregation principle and explains its concepts. Next, an example of a <em>fat interface</em> is picked for a use case in Java, it is analysed and then refactored in line with the interface segregation principle to arrive at lean interfaces.

<em>What is Interface Segregation Principle</em> - Robert C. Martin has ... <a href="https://www.javabrahman.com/programming-principles/interface-segregation-principle-explained-examples-java/" class="more-link">Continue reading <span class="screen-reader-text">Interface Segregation Principle explained with example in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/interface-segregation-principle-explained-examples-java</link><guid isPermaLink="false">interface-segregation-principle-explained-examples-java</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 14 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Understanding exception hierarchy in Java - a tutorial]]></title><description><![CDATA[This tutorial explains exception hierarchy in Java. It starts with showing the Java class structure for handling errors and exceptions. We will then look at three major types of exceptions in Java which are direct sub-classes of java.lang.Exception, java.lang.RuntimeException and java.lang.Error respectively, along with examples for each type.

<strong>Java Exception Hierarchy Class Diagram</strong> ... <a href="https://www.javabrahman.com/corejava/https://www.javabrahman.com/corejava/understanding-exception-hierarchy-java-tutorial/" class="more-link">Continue reading <span class="screen-reader-text">Understanding exception hierarchy in Java - a tutorial</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/understanding-exception-hierarchy-java-tutorial</link><guid isPermaLink="false">understanding-exception-hierarchy-java-tutorial</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 10 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA['@Override annotation in Java - tutorial with examples]]></title><description><![CDATA[This tutorial explains @Override annotation in Java. It starts off with giving a little background on overriding and inheritance in OOPS. It then describes usage of @Override annotation with examples. Next you will learn about how the compiler complains when you don't override correctly while using this annotation. Finally, the benefits of using the @Override annotation are explained... <a href="https://www.javabrahman.com/corejava/override-annotation-java-tutorial-examples/" class="more-link">Continue reading <span class="screen-reader-text">@Override annotation in Java - tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/override-annotation-java-tutorial-examples</link><guid isPermaLink="false">override-annotation-java-tutorial-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 07 Aug 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Facebook messenger introduces end-to-end encryption with Mission Impossible-styled self-destructing messages]]></title><description><![CDATA[Facebook is coming out with a new 'secret conversations' feature for Messenger which will allow its users to send messages which are secured by end-to-end encryption. Just like the movie Mission Impossible, these secret messages can optionally be timed to disappear (or self-destruct) after a preset time interval! Facebook has announced a soon to be released  ... <a href="https://www.javabrahman.com/latest-in-tech/facebook-messenger-introduces-end-to-end-encryption-disappearing-messages/" class="more-link">Continue reading <span class="screen-reader-text">Facebook messenger introduces end-to-end encryption with Mission Impossible-styled self-destructing messages</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/latest-in-tech/facebook-messenger-introduces-end-to-end-encryption-disappearing-messages</link><guid isPermaLink="false">facebook-messenger-introduces-end-to-end-encryption-disappearing-messages</guid><category><![CDATA[Latest in Tech]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 13 Jul 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java ranked #1 programming language]]></title><description><![CDATA[<em>Java ranked number #1 programming language for the second month running.</em>

As per the TIOBE Programming Community Index<sup>[1]</sup> Java has been ranked at the premier position. This is the second month running that Java has been ranked at this position. Last month, Jan'2016, it had regained the top spot after lagging behind C language since Jan'2015. It took one year for Java to bounce back with ~6% gain ... <a href="https://www.javabrahman.com/latest-in-tech/java-ranked-no-1-programming-language-tiobe/" class="more-link">Continue reading <span class="screen-reader-text">Java ranked #1 programming language</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/latest-in-tech/java-ranked-no-1-programming-language-tiobe</link><guid isPermaLink="false">java-ranked-no-1-programming-language-tiobe</guid><category><![CDATA[Latest in Tech]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 08 Feb 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Composite Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Composite design pattern in java with UML class diagram. It then takes an example scenario in java and explains it with class diagram and code.</em>
<em>Introduction</em>: Composite Design Pattern is a  <em>structural</em> design pattern among the  Gang Of Four(GOF) Design Patterns.
<em>What is Composite  Design Pattern</em>: Composite Design pattern is ideal for designing a system where part-whole hierarchies exist, and where the part and the whole components are to be treated in the system uniformly.
Composite design pattern treats both the parts and the whole in the same way. This is very beneficial for handling  ... <a href="https://www.javabrahman.com/design-patterns/composite-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Composite Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/composite-design-pattern-in-java</link><guid isPermaLink="false">composite-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 20 Jan 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Euclidean Algorithm for Greatest Common Divisor (GCD) in Java]]></title><description><![CDATA[<em>Introduction</em>: This article explains the Euclidean Algorithm for Greatest Common Divisor(GCD) of 2 numbers. It then shows how to implement Euclidean Algorithm in Java with variations such as - GCD of two numbers iteratively, GCD of 2 numbers recursively and GCD of n numbers recursively.
<em>Euclidean Algorithm for Greatest Common Divisor</em>
<em>Basic Version - Subtraction Based</em>: The basic algorithm given by Euclid simplifies the GCD determination process by using the principle that the greatest common divisor of two numbers does not change if the larger of the two numbers is replaced by the difference  ... <a href="https://www.javabrahman.com/algorithms-in-java/euclidean-algorithm-for-greatest-common-divisor-gcd-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Euclidean Algorithm for Greatest Common Divisor (GCD) in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/algorithms-in-java/euclidean-algorithm-for-greatest-common-divisor-gcd-in-java</link><guid isPermaLink="false">euclidean-algorithm-for-greatest-common-divisor-gcd-in-java</guid><category><![CDATA[Algorithms &amp; DS in Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 19 Jan 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Liskov Substitution Principal explained with examples in Java]]></title><description><![CDATA[<em>Introduction</em>:This article explains Liskov Substitution Principle with examples in Java, the Circle-Ellipse Problem and the relation of this principle with Open/Closed Principle.

<em>Liskov Substitution Principal as defined by Barbara Liskov & Jeannette Wing</em>:  Φ(x) be a property provable about objects x of type T. Then Φ(y)should be true for objects y of type S where S is a subtype of T.

<em>Explanation of the Liskov Substitution Principle</em>: As the name suggests, Liskov Substitution Principle prescribes substitutability of a class by its subclass. Broadly put, a class can be replaced by its subclass in all practical usage scenarios. 
This is actually in line with what Java also allows. A superclass reference can hold a subclass object i.e. superclass can be replaced by subclass in a superclass reference at any time. So, Java inheritance mechanism follows Liskov Substitution Principle. Lets see an example in Java  ... <a href="https://www.javabrahman.com/programming-principles/liskov-substitution-principal-java-example" class="more-link">Continue reading <span class="screen-reader-text">Liskov Substitution Principal explained with examples in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/liskov-substitution-principal-java-example</link><guid isPermaLink="false">liskov-substitution-principal-java-example</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 16 Jan 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Iterator Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Iterator design pattern in java with UML class diagram. It then takes an example scenario in java and explains it with class diagram and code.</em>
<em>Introduction</em>: Iterator Design Pattern is a <em>behavioral</em> design pattern among the Gang Of Four(GOF) Design Patterns. 
<em>What is Iterator  Design Pattern</em>: Iterator design pattern implements the logic for sequential access of a collection of data outside of the collection(<em>aka</em> an aggregate) itself. This decouples the iteration logic from the collection implementation.
Defining an abstract interface for an iterator makes it possible to have multiple ways of iterating the same collection. Lets say we have  ... <a href="https://www.javabrahman.com/design-patterns/iterator-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Iterator Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/iterator-design-pattern-in-java</link><guid isPermaLink="false">iterator-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 12 Jan 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Imperative versus Functional Programming Paradigms - a conceptual article]]></title><description><![CDATA[<em>Introduction</em>: This article on Imperative versus Functional Programming starts off with defining imperative and functional programming paradigms. It then explains how these two paradigms differ considering various factors related to their approach, usage and applicability and the road ahead.

<em>What is Imperative Programming</em>: Imperative Programming, also known as <em>procedural programming</em>, is the most prevalent programming style in use today. A program in imperative language specifies <em>how</em> the desired result is to be obtained. I.e. the program specifies the exact steps to be performed to achieve the desired outcome. Common examples  ... <a href="https://www.javabrahman.com/programming-principles/imperative-versus-functional-programming-paradigms-conceptual/" class="more-link">Continue reading <span class="screen-reader-text">Imperative versus Functional Programming Paradigms - a conceptual article</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/imperative-versus-functional-programming-paradigms-conceptual</link><guid isPermaLink="false">imperative-versus-functional-programming-paradigms-conceptual</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 11 Jan 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Chain of Responsibility Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Chain of Responsibility design pattern in java with UML class diagram. It then takes an example scenario in java and explains it with class diagram and code.</em>
<em>Introduction</em>: Chain of Responsibility Design Pattern is a <em>behavioral</em> design pattern among the Gang Of Four(GOF) Design Patterns.
<em>What is Chain of Responsibility Design Pattern</em>: Chain of Responsibility Pattern decouples the handler of a request from its sender by providing multiple <em>potential</em> handlers chained in a sequence. As the request reaches the first handler object, the object checks if it can handle this request. If yes, it handles the request, else it  ... <a href="https://www.javabrahman.com/design-patterns/chain-of-responsibility-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Chain of Responsibility Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/chain-of-responsibility-design-pattern-in-java</link><guid isPermaLink="false">chain-of-responsibility-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 05 Jan 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Observer Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Observer design pattern in java with UML class diagram. It then takes an example scenario in java and explains it with class diagram and code.</em>
<em>Introduction</em>: Observer Design Pattern is a behavioral design pattern among the Gang Of Four(GOF) Design Patterns. Being a behavioral design pattern, the Observer pattern deals with how objects of the designed system interact with each other. 
<em>What is Observer Design Pattern</em>: An Observer Design Pattern is used when there are multiple subscribers observing updates from a publisher. The publisher, known as Subject, publishes its change of state to its subscribers. Subscribers, known as Observers, receive these changes and  ... <a href="https://www.javabrahman.com/design-patterns/observer-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Observer Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/observer-design-pattern-in-java</link><guid isPermaLink="false">observer-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 02 Jan 2016 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Error-The target type of this expression must be a functional interface.]]></title><description><![CDATA[If you are working in Java 8 and getting the following compilation error -
<pre>Exception in thread "main" java.lang.Error: Unresolved compilation problems: The target type of this expression must be a functional interface</pre>
Then this implies that you are <em>trying to assign a Lambda Expression to a  ... <a href="https://www.javabrahman.com/java-8/the-target-type-of-this-expression-must-be-a-functional-interface/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Error-The target type of this expression must be a functional interface.</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/the-target-type-of-this-expression-must-be-a-functional-interface</link><guid isPermaLink="false">the-target-type-of-this-expression-must-be-a-functional-interface</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 30 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Builder Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Builder design pattern in java with UML class diagram. It then takes an example scenario in java and explains it with class diagram and code.</em>
<em>Introduction</em>: Builder Design Pattern is a <em>creational</em> design pattern among the Gang Of Four(GOF) Design Patterns.Being a creational design pattern, the Builder pattern deals with the design of how the object creation is managed. 
<em>What is Builder Design Pattern</em>: In a Builder Design Pattern implementation the construction of a complex object is separated from its representation. This enables us to create multiple representations using the same construction process.
In Builder Pattern the class which invokes  ... <a href="https://www.javabrahman.com/design-patterns/builder-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Builder Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/builder-design-pattern-in-java</link><guid isPermaLink="false">builder-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 27 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Repeating Annotations Tutorial using @Repeatable with examples]]></title><description><![CDATA[<em>Introduction</em>:This article explains what are Java 8 Repeating Annotations, how to define repeating annotations using the @Repeatable annotation and how these are handled internally. Lastly, it also takes a look at how Class.java has been changed in Java 8 to handle Repeating Annotations.
<em>What is the Repeating Annotations feature</em>: As the name suggests, Repeating Annotations imply that a particular annotation is applied multiple times to a declaration. 
<em>For example</em>: Lets say there is an annotation <code>@Color</code>  ... <a href="https://www.javabrahman.com/java-8/java-8-repeating-annotations-tutorial/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Repeating Annotations Tutorial using @Repeatable with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-repeating-annotations-tutorial</link><guid isPermaLink="false">java-8-repeating-annotations-tutorial</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 25 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Strategy Design Pattern versus State Design Pattern - An Analysis]]></title><description><![CDATA[<em>This article analyses Strategy Design Pattern versus State Design Patterns w.r.t to their similarities and differences.</em>
<em>Similarities between State Pattern and Strategy Pattern</em>: 
<ol style="padding-left:11px">
	<li>Class Diagrams of the Patterns: One of the biggest similarities between state pattern and strategy pattern is their class diagrams  ... <a href="https://www.javabrahman.com/design-patterns/strategy-design-pattern-versus-state-design-pattern-analysis/" class="more-link">Continue reading <span class="screen-reader-text">Strategy Design Pattern versus State Design Pattern - An Analysis</span> <span class="meta-nav">&rarr;</span></a> ]]></description><link>https://www.javabrahman.com/design-patterns/strategy-design-pattern-versus-state-design-pattern-analysis</link><guid isPermaLink="false">strategy-design-pattern-versus-state-design-pattern-analysis</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 23 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Prototype Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Prototype design pattern in Java with the help of its UML class diagram. It then takes an example scenario in java and explains it with class diagram and code.</em>
<em>Introduction</em>: Prototype Design Pattern is a <em>creational</em> design pattern among the  Gang Of Four(GOF) Design Patterns. Being a creational design pattern, the Prototype pattern deals with the design of how the object creation is managed. 
<em>What is Prototype Design Pattern</em>: In a Prototype Design Pattern implementation the type of object to be created is specified using a prototypical instance. New objects are created by copying(or cloning) this prototype.
In simpler terms  ... <a href="https://www.javabrahman.com/design-patterns/prototype-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Prototype Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/prototype-design-pattern-in-java</link><guid isPermaLink="false">prototype-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 22 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Single Responsibility Principle with Example in Java]]></title><description><![CDATA[<em>This article explains Single Responsibility Principle with Example in Java.</em>
<em>What is Single Responsibility Principle</em>: Single Responsibility Principle is one of the five principles of SOLID Design Principles. Specifically, the S in SOLID stands for Single Responsibility Principle.
Single Responsibility Principle was defined by Robert C. Martin as - 
&nbsp;&nbsp;&rarr;A class should have only one reason to change.
Wikipedia and many write-ups on Single Responsibility Principle describe it as -
&nbsp;&nbsp;&rarr; </em>A class should have only one responsibility.</em>
Both of these definitions actually mean the same. For this we have to understand what is meant by <em>Responsibility </em>in the context of  ... <a href="https://www.javabrahman.com/programming-principles/single-responsibility-principle-with-example-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Single Responsibility Principle with Example in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/single-responsibility-principle-with-example-in-java</link><guid isPermaLink="false">single-responsibility-principle-with-example-in-java</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 21 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Mapping with Streams | map and flatMap methods tutorial with examples]]></title><description><![CDATA[<em>Introduction</em>:This tutorial explains the concept of mapping with streams using the map & flatMap methods with examples to show their usage. 
<em>What is mapping with Streams</em>: Mapping in the context of Java 8 Streams refers to converting or transforming a Stream carrying one type of data to another type.
Lets take an example. Say we have a stream containing elements of type  ... <a href="https://www.javabrahman.com/java-8/java-8-mapping-with-streams-map-flatmap-methods-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Mapping with Streams | map and flatMap methods tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-mapping-with-streams-map-flatmap-methods-tutorial-with-examples</link><guid isPermaLink="false">java-8-mapping-with-streams-map-flatmap-methods-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 20 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 java.util.function.Supplier Tutorial with Examples]]></title><description><![CDATA[<em>Introduction</em>: Tutorial explains the in-built functional interface Supplier&lt;T&gt; introduced in Java 8. It explains with the help of examples how the Supplier interface is to be used via its get() method.
<em>What is java.util.function.Supplier</em>: Supplier&lt;T&gt; is an in-built functional interface introduced in Java 8 in the <code>java.util.function</code> package. Supplier can be used in all contexts where there is no input but an output is expected. 
Since Supplier is a functional interface, hence it can be used as the assignment target for  ... <a href="https://www.javabrahman.com/java-8/java-8-java-util-function-supplier-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 java.util.function.Supplier Tutorial</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-java-util-function-supplier-tutorial-with-examples</link><guid isPermaLink="false">java-8-java-util-function-supplier-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 16 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[State Design Pattern in Java]]></title><description><![CDATA[<em>This article explains State design pattern in java with UML class diagram. It then takes an example scenario in java and explains it with class diagram and code.</em>
<em>Introduction</em> - State Design Pattern is a <em>behavioral</em> design pattern among the Gang Of Four(GOF) Design Patterns. Being a behavioral design pattern, the State pattern deals with how the objects communicate and share responsibilities among each other.
<em>What is State Design Pattern</em>: State Design Pattern allows the behavior of an object to vary based on its state. I.e. whenever the object's state changes, its behavior changes as per its new state. To the observer it appears as if  ... <a href="https://www.javabrahman.com/design-patterns/state-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">State Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/state-design-pattern-in-java</link><guid isPermaLink="false">state-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 15 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 java.util.function.Function Tutorial with Examples]]></title><description><![CDATA[Tutorial explains the in-built functional interface Function&lt;T, R&gt; introduced in Java 8. It uses examples to show how the apply(), andThen(), compose() & identity() methods of the Function interface are to be used.

<em>What is java.util.function.Function</em>: Function&lt;T, R&gt; is an in-built functional interface introduced in Java 8 in the java.util.function package. The primary purpose for which Function&lt;T, R&gt; has been created is for mapping scenarios i.e when  ... <a href="https://www.javabrahman.com/java-8/java-8-java-util-function-function-tutorial-with-examples" class="more-link">Continue reading <span class="screen-reader-text">Java 8 java.util.function.Function Tutorial with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-java-util-function-function-tutorial-with-examples</link><guid isPermaLink="false">java-8-java-util-function-function-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 11 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Memento Design Pattern in Java]]></title><description><![CDATA[<em>Introduction</em>: Memento Design Pattern is a <em>behavioral</em> design pattern among the Gang Of Four(GOF) Design Patterns. Being a behavioral design pattern, the memento pattern basically deals with how the objects communicate and share responsibilities among each other.
<em>What is Memento Design Pattern</em>: Memento design pattern provides ability to capture(save) an object's state and then restore back this captured state when required by the system. 
Memento design pattern can be chosen to capture state of a system when  ... <a href="https://www.javabrahman.com/design-patterns/memento-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Memento Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/memento-design-pattern-in-java</link><guid isPermaLink="false">memento-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 10 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Filtering and Slicing with Streams Tutorial with examples]]></title><description><![CDATA[<em>Introduction</em>: This tutorial explains how to do filtering and slicing in Java 8 Streams using the filter, distinct, limit and skip methods. 

<em>Streams Filtering & Slicing Basics</em>: Java 8 Streams support declarative filtering out of elements along with the ability to slice-off portions of a list. Streams support four operations to achieve this - filter, distinct, limit(n) and skip(n). Lets quickly look at what these methods do followed by a java example  ... <a href="https://www.javabrahman.com/java-8/java-8-filtering-and-slicing-streams-tutorial-with-examples" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Filtering and Slicing with Streams Tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-filtering-and-slicing-streams-tutorial-with-examples</link><guid isPermaLink="false">java-8-filtering-and-slicing-streams-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 07 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 java.util.function.Consumer Tutorial with Examples]]></title><description><![CDATA[Tutorial explains the in-built functional interface Consumer&lt;T&gt; introduced in Java 8. It uses examples to show how the accept() & andThen() methods of the Consumer interface are to be used.

<em>What is java.util.function.Consumer</em>: Consumer&lt;T&gt; is an in-built functional interface introduced in Java 8 in the <code>java.util.function</code> package. Consumer can be used in all contexts where an object needs to be consumed,i.e. taken as input, and some operation is to be performed on the object without returning any result. Common example of such an operation ... <a href="https://www.javabrahman.com/java-8/java-8-java-util-function-consumer-tutorial-with-examples" class="more-link">Continue reading <span class="screen-reader-text">Java 8 java.util.function.Consumer Tutorial with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-java-util-function-consumer-tutorial-with-examples</link><guid isPermaLink="false">java-8-java-util-function-consumer-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 06 Dec 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java - Compiler Error "Error: not a statement"]]></title><description><![CDATA[If you are getting the following error at compilation time - "Error: not a statement"
which may be accompanied by - "Error: ';' expected" or "Error: ')' expected", then there are two possible reasons for these compiler errors to happen ... <a href="https://www.javabrahman.com/error-handling/error-not-a-statement" class="more-link">Continue reading <span class="screen-reader-text">Java - How to Resolve "Error: not a statement"</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/error-handling/error-not-a-statement</link><guid isPermaLink="false">error-not-a-statement</guid><category><![CDATA[Error Handling]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 28 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Visitor Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Visitor design pattern in java with class diagrams and example code.</em>
<em>Introduction</em> - Visitor Design Pattern is a behavioral design pattern among the Gang Of Four(GOF) Design Patterns.
<em>What is Visitor  Design Pattern</em>: Visitor pattern defines operations in a way that they can be performed on the objects arranged in a structure independently of the object structure itself. <em>Independently</em> here implies that ... <a href="https://www.javabrahman.com/design-patterns/visitor-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Visitor Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/visitor-design-pattern-in-java</link><guid isPermaLink="false">visitor-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 27 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Factory Method Design Pattern in Java]]></title><description><![CDATA[<em>Introduction</em> - Factory Method Design Pattern is a creational design pattern among the Gang Of Four(GOF) Design Patterns. Being a creational design pattern, the factory method design pattern deals with the creation of a family of objects.
<em>What is Factory Method Design Pattern</em>: Factory method design pattern creates objects in such a way that it lets the sub-classes decide how to implement the object creation logic ... <a href="https://www.javabrahman.com/design-patterns/factory-method-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Factory Method Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/factory-method-design-pattern-in-java</link><guid isPermaLink="false">factory-method-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 17 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Proxy Design Pattern in Java]]></title><description><![CDATA[<em>Introduction</em> - Proxy Design Pattern is a structural design pattern among the Gang Of Four(GOF) Design Patterns.
<em>What is Proxy Design Pattern</em>: Proxy pattern specifies a design where substitute or placeholder object is put in-place of the actual target object to control access to it. Client accesses the proxy object to ... <a href="https://www.javabrahman.com/design-patterns/proxy-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Proxy Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/proxy-design-pattern-in-java</link><guid isPermaLink="false">proxy-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 12 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Multiple Inheritance Conflict Resolution Rules and Diamond Problem]]></title><description><![CDATA[This article explains how to resolve conflicts when inheriting default methods with same signatures from multiple interfaces using java 8's conflict resolution rules. It then looks in to the classic Diamond Problem scenarios and its resolution in Java 8.
<em>What is default method resolution conflict</em>: What-if the multiple default interfaces implemented have default methods with the same signatures  ... <a href="https://www.javabrahman.com/java-8/java-8-multiple-inheritance-conflict-resolution-rules-and-diamond-problem" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Multiple Inheritance Conflict Resolution Rules and Diamond Problem</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-multiple-inheritance-conflict-resolution-rules-and-diamond-problem</link><guid isPermaLink="false">java-8-multiple-inheritance-conflict-resolution-rules-and-diamond-problem</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 08 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Multiple Inheritance of Behavior from Interfaces using Default Methods]]></title><description><![CDATA[<em>Multiple Inheritance of Behavior with Default Methods</em>: Until Java 7 multiple interface inheritance was possible but interfaces were not allowed to have concrete methods. Thus, behavior inheritance was not possible.
With Java 8, where interfaces can now have <em>default methods</em> implemented in them, it is now possible to have a derived class inherit methods from multiple parent interfaces. So, multiple inheritance of behavior is now possible. Lets see an <em>example</em>  ... <a href="https://www.javabrahman.com/java-8/java-8-multiple-inheritance-of-behavior-from-interfaces-using-default-methods" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Multiple Inheritance of Behavior from Interfaces using Default Methods</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-multiple-inheritance-of-behavior-from-interfaces-using-default-methods</link><guid isPermaLink="false">java-8-multiple-inheritance-of-behavior-from-interfaces-using-default-methods</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 07 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Short-Circuiting Or Short-Circuits in Boolean Evaluations in Programming and Java]]></title><description><![CDATA[This article explains the concept of Short-Circuiting Or Short-Circuits in Boolean Evaluations and then takes a look at how it is used in Java.
<em>Short Circuit Evaluations</em> - In boolean logic whenever we have multiple conditions in sequence i.e. conditions getting checked are <em>ANDed </em>or <em>ORed</em> one after the other, then short circuit evaluation ignores checking the remaining conditions ... <a href="https://www.javabrahman.com/programming-principles/short-circuiting-or-short-circuits-in-boolean-evaluations-in-programming-and-java" class="more-link">Continue reading <span class="screen-reader-text">Short-Circuiting Or Short-Circuits in Boolean Evaluations in Programming and Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/short-circuiting-or-short-circuits-in-boolean-evaluations-in-programming-and-java</link><guid isPermaLink="false">short-circuiting-or-short-circuits-in-boolean-evaluations-in-programming-and-java</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 04 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Static Methods vs Default Methods in Interfaces]]></title><description><![CDATA[This article explains Java 8 Static Methods and Default Methods in Interfaces w.r.t to their various aspects with examples.
Actually Static and Default Methods are <em>not</em> an either/or options. Its not like you have to choose one of them to implement. On the contrary, static and default methods work together to deliver the full functionality of an interface.
<em>Quick introductions to Static & Default Methods</em>
<em>Static Methods</em>: These are methods written in Interfaces which are static... <a href="https://www.javabrahman.com/java-8/java-8-static-methods-vs-default-methods-in-interfaces/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Static Methods vs Default Methods in Interfaces</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-static-methods-vs-default-methods-in-interfaces</link><guid isPermaLink="false">java-8-static-methods-vs-default-methods-in-interfaces</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 03 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Facade Design Pattern in Java]]></title><description><![CDATA[<em>Introduction</em> - Facade Design Pattern is a <em>structural</em> design pattern among theGang Of Four(GOF) Design Patterns. Being a structural design pattern, the facade pattern basically deals with how the classes are composed together to get the desired outcome from a system.
<em>What is Facade Design Pattern</em>: The basic design problem which the facade pattern solves is to <em>simplify access to a set of interfaces in a subsystem</em>. Facade solves this problem by providing a higher-level interface one level above all the sub-level interfaces ... <a href="https://www.javabrahman.com/design-patterns/facade-design-pattern-in-java" class="more-link">Continue reading <span class="screen-reader-text">Facade Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/facade-design-pattern-in-java</link><guid isPermaLink="false">facade-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 02 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Default Methods in Java 8 with examples]]></title><description><![CDATA[<em>This tutorial explains what are default methods in Java 8 with examples, why they are useful and how they can be used to enhance the design of your code.</em>
<em>What are Default Methods</em>: Default methods are methods implemented in an interface, are non-abstract, and marked by the modifier <code>default</code>. These methods are available to all classes which implement this interface.
<em>Format of default methods</em>:  ... <a href="https://www.javabrahman.com/java-8/default-methods-in-java-8-with-examples" class="more-link">Continue reading <span class="screen-reader-text">Default methods in Java 8 with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/default-methods-in-java-8-with-examples</link><guid isPermaLink="false">default-methods-in-java-8-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 01 Nov 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java Wrapper Classes Tutorial with Examples]]></title><description><![CDATA[This tutorial explains the concepts of Java wrapper classes with examples, shows how to convert from wrapper types to primitives and vice-a-versa, explains numeric wrapper classes and wraps up with character-based wrapper class <code>Character</code>.
<em>What are wrapper classes</em>: Java Wrapper Classes are used to hold primitive data type as Objects. In java primitive data types are not objects. Wrapper classes are <em>wrappers</em> which take a primitive data value ... <a href="https://www.javabrahman.com/core-java/java-wrapper-classes-tutorial-with-examples" class="more-link">Continue reading <span class="screen-reader-text">Java Wrapper Classes Tutorial with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/java-wrapper-classes-tutorial-with-examples</link><guid isPermaLink="false">java-wrapper-classes-tutorial-with-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 30 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Adapter Design Pattern in Java]]></title><description><![CDATA[<em>This article explains adapter design pattern in java with class diagrams and example code.</em>
<em>Introduction</em>: Adapter class makes classes with incompatible interfaces work together. Adapter Design Pattern is a <em>structural</em>design pattern among the Gang Of Four(GOF) Design Patterns. I.e. the adapter pattern deals with how the classes are composed to form larger structures.
What is Adapter Design Pattern  ... <a href="https://www.javabrahman.com/design-patterns/adapter-design-pattern-in-java" class="more-link">Continue reading <span class="screen-reader-text">Adapter Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/adapter-design-pattern-in-java</link><guid isPermaLink="false">adapter-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 28 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Strategy Design Pattern in Java]]></title><description><![CDATA[<em>This article explains strategy design pattern in Java with class diagrams and example code.</em>
Introduction - Strategy Design Pattern is a <em>behavioral </em>design pattern among the Gang Of Four(GOF) Design Patterns.
What is Strategy Design Pattern:  ... <a href="https://www.javabrahman.com/design-patterns/strategy-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Strategy Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>
]]></description><link>https://www.javabrahman.com/design-patterns/strategy-design-pattern-in-java</link><guid isPermaLink="false">strategy-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 25 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Template Method Design Pattern in Java]]></title><description><![CDATA[<em>This article explains Template Method Design Pattern in Java with class diagrams and example code.</em>
Introduction - Template Method Design Pattern is a <em>behavioral </em>design pattern among the Gang Of Four(GOF) Design Patterns.
What is Template Method Design Pattern:  ... <a href="https://www.javabrahman.com/design-patterns/template-method-design-pattern-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Template Design Pattern in Java</span> <span class="meta-nav">&rarr;</span></a>
]]></description><link>https://www.javabrahman.com/design-patterns/template-method-design-pattern-in-java</link><guid isPermaLink="false">template-method-design-pattern-in-java</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 24 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 java.util.function.Predicate tutorial with examples]]></title><description><![CDATA[<em>This tutorial explains the functional interface Predicate which has been newly introduced in the java.util.function package. It describes Predicate's usage with the help of multiple examples.</em>
<em>What is java.util.function.Predicate</em> - Predicate is a new functional interface defined in java.util.function package which can be used in all the contexts where an object needs to be evaluated for a given test condition and a boolean value needs to be returned based on  ... <a href="https://www.javabrahman.com/java-8/java-8-java-util-function-predicate-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 java.util.function.Predicate tutorial with examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-java-util-function-predicate-tutorial-with-examples</link><guid isPermaLink="false">java-8-java-util-function-predicate-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 23 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 java.util.function package tutorial]]></title><description><![CDATA[<em>Introduction</em>: This tutorial explains the newly introduced package in Java 8 <code>java.util.function</code>. It first explains the purpose of this package, followed by the contexts in which the functional interfaces defined in this package can be used and finally gives an overview of the most important functional interfaces that this package contains.
<em>Purpose of java.util.function package</em>: For common use cases where a lambda expression or a method reference is needed, these are generally assigned  ... <a href="https://www.javabrahman.com/java-8/functional-interfaces-java-8/java-8-java-util-function-package-tutorial" class="more-link">Continue reading <span class="screen-reader-text">Java 8 java.util.function package tutorial</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-java-util-function-package-tutorial</link><guid isPermaLink="false">java-8-java-util-function-package-tutorial</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 23 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Internal Iterators vs External Iterators]]></title><link>https://www.javabrahman.com/java-8/java-8-internal-iterators-vs-external-iterators</link><guid isPermaLink="false">java-8-internal-iterators-vs-external-iterators</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 21 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Open Closed Principle Explained with Examples in Java]]></title><description><![CDATA[<em>This article explains the open closed principle with examples in Java.</em>
<em>Open/Closed Principle was originally defined by Bertrand Meyer</em> in his book Object Oriented Software Construction.
Bertrand Meyer's Definition was divided into three statements.The first two statements defined the notions of Open & Closed modules(or classes) -  
As per Meyer a module is <em>Open </em>when - A module will be said to be open if it is still available for extension. For example, it should be possible to add fields to the data structures it contains, or new elements to the set of functions it performs.
<em>What it means</em> - If attributes or  ... <a href="https://www.javabrahman.com/programming-principles/open-closed-principle-with-examples-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Open Closed Principle with examples in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/open-closed-principle-with-examples-in-java</link><guid isPermaLink="false">open-closed-principle-with-examples-in-java</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 19 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Pipelines in Computing and Software Engineering - Conceptual Article]]></title><description><![CDATA[<em>Introduction</em>:This article describes pipelines in computing and software engineering - starting from the fundamentals of pipelines concept in computing, moving to basic instructions pipeline, to pipelines in Unix and Streams API in Java 8.
<em>Definition of Pipelining in Computing</em>: Pipelining is a segmentation of a computational process  into several sub-processes which are executed by dedicated autonomous units. In other words, pipelining can be defined as the technique of decomposing a repeated sequential process into sub-processes, each of which can be executed efficiently on a special dedicated autonomous module that operates concurrently with the others.
<em>What it means</em>:  ... <a href="https://www.javabrahman.com/programming-principles/pipelines-in-computing-and-software-engineering/" class="more-link">Continue reading <span class="screen-reader-text">Pipelines in Computing and Software Engineering - Conceptual Article</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/pipelines-in-computing-and-software-engineering</link><guid isPermaLink="false">pipelines-in-computing-and-software-engineering</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 14 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Understanding Static Imports in Java with Examples]]></title><description><![CDATA[This articles explains the concepts of Static Imports Introduced in Java 1.5 with examples.
<em>What are Static Imports</em> - Static Imports allow accessing the static attributes (variables & methods) of a class without using the &lt;ClassName&lt;. In other words, static imports allow unqualified access to static members of a class. Unqualified here refers to the dropping of classname prefix.
<em>Examples of using Static Imports</em>  ... <a href="https://www.javabrahman.com/corejava/understanding-static-imports-in-java-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Understanding Static Imports in Java with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/understanding-static-imports-in-java-with-examples</link><guid isPermaLink="false">understanding-static-imports-in-java-with-examples</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 12 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Streams API Tutorial with Examples]]></title><description><![CDATA[This tutorial explains basics of Streams API introduced in Java 8 with examples.
<em>Definition of Streams</em>- A stream is a sequence of elements supporting parallel and aggregate operations. This sequence of elements are obtained from a source .Further the stream supports processing of these elements through operations defined in a declarative way. These operations are linked-up according to the principle of pipelines and they access the elements via Internal Iterations.
Lets now understand the <em>conceptual terms making up the definition</em>  ... <a href="https://www.javabrahman.com/java-8/java-8-streams-api-tutorial-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Streams API Tutorial with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-streams-api-tutorial-with-examples</link><guid isPermaLink="false">java-8-streams-api-tutorial-with-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 09 Oct 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Method References Tutorial with Examples]]></title><description><![CDATA[<em>This is article explains the concept of Method References introduced in Java 8. </em>
<em>Definition:</em> A method reference is a simplified form (or short-hand) of a lambda expression. It specifies the class name or the instance name followed by the method name. Instead of writing the lambda expression with all the details such as parameter and return type, a method reference lets you create a lambda expression from an existing method implementation.
<em>Method Reference Syntax:</em>  ... <a href="https://www.javabrahman.com/java-8/java-8-method-references-tutorial-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Method References Tutorial with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/java-8-method-references-tutorial-examples</link><guid isPermaLink="false">java-8-method-references-tutorial-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 22 Sep 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Constructor References Java 8 Simplified Tutorial with examples]]></title><description><![CDATA[Introduced in Java 8, Constructor References are specialized form of Method References. 
<em>Definition:</em> Constructor References are method references which refer to the constructors of a class. Constructor References can be created using the Class Name and the keyword new with the following syntax-
<em> Syntax of Constructor References</em>:  ... <a href="https://www.javabrahman.com/java-8/constructor-references-java-8-simplified-tutorial/" class="more-link">Continue reading <span class="screen-reader-text">Constructor References Java 8 Simplified Tutorial</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/constructor-references-java-8-simplified-tutorial</link><guid isPermaLink="false">constructor-references-java-8-simplified-tutorial</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 22 Sep 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to Resolve - Syntax error, insert "Dimensions" to complete ReferenceType]]></title><description><![CDATA[If you are getting the following error at compile time or in your IDE - <code>Syntax error, insert "Dimensions" to complete ReferenceType</code>
<em>Cause of this error</em> - You are trying to pass a primitive object into a generic type declaration whereas generic types always expect a  ... <a href="https://www.javabrahman.com/corejava/how-to-resolve-syntax-error-insert-dimensions-to-complete-referencetype/" class="more-link">Continue reading <span class="screen-reader-text">How to Resolve - Syntax error, insert "Dimensions" to complete ReferenceType</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/how-to-resolve-syntax-error-insert-dimensions-to-complete-referencetype</link><guid isPermaLink="false">how-to-resolve-syntax-error-insert-dimensions-to-complete-referencetype</guid><category><![CDATA[Core Java|Error Handling]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 21 Sep 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Function Descriptors Explained]]></title><description><![CDATA[<em>Definition</em> - In Java 8 a Function Descriptor is a term used to describe the signature of the abstract method of a Functional Interface. The signature of the abstract method of a Functional Interface is syntactically the same as the signature of the Lambda Expression. Hence, a Function Descriptor also describes the signature of a lambda.
To illustrate  ... <a href="https://www.javabrahman.com/java-8/function-descriptors-java-8-explained/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Function Descriptors Explained</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/function-descriptors-java-8-explained</link><guid isPermaLink="false">function-descriptors-java-8-explained</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 15 Sep 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 Lambda Expressions Tutorial with Examples]]></title><description><![CDATA[Lambda Expressions are Java's answer to the functional programming concept of closures. Well... almost!! Lets deep dive into the concept of lambda expressions now starting with the definition.
<em>Definition</em> - A Lambda Expression ( or just lambda for brevity) is a representation of an anonymous function which can be passed around as a parameter thus achieving Behavior Parameterization. A lambda consists of a list of parameters, a body, a return type and a list of exceptions which can be thrown. I.e. it is very much a function, just anonymous.
An instance of a lambda can be assigned to any  ... <a href="https://www.javabrahman.com/java-8/lambda-expressions-java-8-explained-examples/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 Lambda Expressions Tutorial with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/lambda-expressions-java-8-explained-examples</link><guid isPermaLink="false">lambda-expressions-java-8-explained-examples</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 14 Sep 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Functional Interfaces in Java 8 Explained]]></title><description><![CDATA[Definition - A functional interface, introduced in Java 8, is an interface which has only a single abstract method. Conversely, if you have <em>any</em> interface which has only a single abstract method, then that will effectively be a functional interface. This interface can then be used anywhere where a functional interface is eligible to be used. 
Lets see some examples of functional interfaces ... <a href="https://www.javabrahman.com/java-8/functional-interfaces-java-8/" class="more-link">Continue reading <span class="screen-reader-text">Functional Interfaces in Java 8 Explained</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/functional-interfaces-java-8</link><guid isPermaLink="false">functional-interfaces-java-8</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 12 Sep 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Abstraction vs Encapsulation in OOPS with Examples]]></title><description><![CDATA[This article explains the often discussed and debated topic of Abstraction vs Encapsulation in the context of OOPS (Object Oriented Programming) Principles. Includes audio version to hear the article on the move...
<em>The Basics</em>
<em>Abstraction</em> refers to the concept of hiding the complexities of a system from the users of that system.
Lets see an <em>example of abstraction</em>: Lets say we have a  ... <a href="https://www.javabrahman.com/programming-principles/abstraction-vs-encapsulation-in-oops-with-examples/" class="more-link">Continue reading <span class="screen-reader-text">Abstraction vs Encapsulation in OOPS with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/programming-principles/abstraction-vs-encapsulation-in-oops-with-examples</link><guid isPermaLink="false">abstraction-vs-encapsulation-in-oops-with-examples</guid><category><![CDATA[Programming &amp; Design Principles]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 22 Aug 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to Solve - Error executing script RunApp: _GrailsClasspath_groovy$_run_closure1]]></title><link>https://www.javabrahman.com/error-handling/error-_grailsclasspath_groovy_run_closure1</link><guid isPermaLink="false">error-_grailsclasspath_groovy_run_closure1</guid><category><![CDATA[Error Handling]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 26 May 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[Recursive Fibonacci in Java with Memoization]]></title><description><![CDATA[<em>Introduction</em>:This article first explains how to implement recursive fibonacci algorithm in java, and follows it up with an enhanced algorithm implementation of recursive fibonacci in java with memoization.
<em>What is Fibonacci Sequence</em>: Fibonacci is the sequence of numbers which are governed by the recurrence relation - "F(n)=F(n-1)+F(n-2)".
The first 2 numbers numbers in the sequence are  0,1 . The Fibonacci sequence, based on the recurrence relation given above, goes like this - 0,1,1,2,3,5,8,13,21 and so on...
<em>Recursive Fibonacci Implementation</em>: Given below is a recursive java program which generates numbers in the Fibonacci sequence ... <a href="https://www.javabrahman.com/gen-java-programs/recursive-fibonacci-in-java-with-memoization/" class="more-link">Continue reading <span class="screen-reader-text">Recursive Fibonacci in Java with Memoization</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/gen-java-programs/recursive-fibonacci-in-java-with-memoization</link><guid isPermaLink="false">recursive-fibonacci-in-java-with-memoization</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 18 Apr 2015 00:00:00 GMT</pubDate></item><item><title><![CDATA[GOF / Gang of Four Design Patterns in Java]]></title><description><![CDATA[<em>This article is an overview of GOF/Gang of Four Design Patterns. It defined and explains the three categories of GOF Design Patterns along with listing out all the patterns in the category with a brief definition of each.</em>
<em>What is a design pattern</em>: A design pattern is a general reusable solution to a commonly occurring problem in software design. It is a template for how to solve a problem that can be used in many different situations. Patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system.
<em>Gang of Four Design Patterns</em>: These are design patterns which were defined by... <a href="https://www.javabrahman.com/design-patterns/gof-gang-four-design-patterns/" class="more-link">Continue reading <span class="screen-reader-text">Gang Of Four(GOF) Design Patterns</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/design-patterns/gof-gang-four-design-patterns</link><guid isPermaLink="false">gof-gang-four-design-patterns</guid><category><![CDATA[Design Patterns]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 24 Sep 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[One To One Mapping in JPA with Examples]]></title><description><![CDATA[<em>Tutorial describes One to One Mappings in JPA with examples.</em>
<em>What are One to One Mappings</em>: One to One mappings between entities refers to those relationships where one record of an entity(say entity-1) is mapped exactly to one record of another entity(say entity-2). Then entity-1 and entity-2 are said to be in a One to One relationship with each other. Or, it can be said that a One to One <em>mapping</em> exists between the two entities.
<em>Example Database Table Structure with a One to One Mapping</em>:  ... <a href="https://www.javabrahman.com/j2ee/jpa/one-to-one-mapping-in-jpa/" class="more-link">Continue reading <span class="screen-reader-text">One To One Mapping in JPA with Examples</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/jpa/one-to-one-mapping-in-jpa</link><guid isPermaLink="false">one-to-one-mapping-in-jpa</guid><category><![CDATA[JPA]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 17 Sep 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[JPA Not Null Constraint / Not Nullable column]]></title><description><![CDATA[<em>Null constraints in JPA</em> reflect the nullability of a column as defined in the database schema. As such in all database definitions a column is nullable by default. I.e. if a column is not defined as primary key or unique then it is by default nullable. It is to make a column mandatory, i.e. to stop it from accepting null values, that we make it non-nullable. The same logic is reflected in JPA as well. 
Null constraint can be defined on either an @Column or an @JoinColumn.
Lets say we have an Employee table  ... <a href="https://www.javabrahman.com/j2ee/jpa/jpa-not-null-constraint/" class="more-link">Continue reading <span class="screen-reader-text">JPA Not Null Constraint/ Not Nullable column</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/jpa/jpa-not-null-constraint</link><guid isPermaLink="false">jpa-not-null-constraint</guid><category><![CDATA[JPA]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 17 Sep 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Catching Multiple Exception Types in a single catch block in Java 7]]></title><description><![CDATA[Prior to Java 7, if one needed to have common handling for different type of exceptions, one needed to write duplicate code. I.e. one had to repeat the handling code to make it common across exception types. Java 7, on the other hand, allowed Java a single catch block to handle multiple exceptions  ... <a href="https://www.javabrahman.com/newfeaturesjava7/catching-multiple-exception-types-in-single-catch-block-in-java-7/" class="more-link">Continue reading <span class="screen-reader-text">Catching Multiple Exception Types in a single catch block in Java 7</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/newfeaturesjava7/catching-multiple-exception-types-in-single-catch-block-in-java-7</link><guid isPermaLink="false">catching-multiple-exception-types-in-single-catch-block-in-java-7</guid><category><![CDATA[New Features in Java 7]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 28 Aug 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java 8 New Features]]></title><description><![CDATA[Java 8 or JDK 8 is the most significant expansion of the Java language yet. New features such as Lambda Expressions, Stream APIs, Nashorn, Compact Profiles, new Time APIs increase the expressive power of the platform and make it easier for developers to take advantage of modern, multicore processors.
Listed below are some of the important New Features in Java 8:
<em>(Note - Every feature/concept has a link to a detailed article explaining it.)</em>  ... <a href="https://www.javabrahman.com/java-8/new-features-in-java-8/" class="more-link">Continue reading <span class="screen-reader-text">Java 8 - New Features</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/java-8/new-features-in-java-8</link><guid isPermaLink="false">new-features-in-java-8</guid><category><![CDATA[Java 8]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 27 Aug 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to resolve javax.persistence.NoResultException OR javax.persistence.NonUniqueResultException in JPA]]></title><description><![CDATA[In case you are getting the following exception in JPA -<pre>javax.persistence.NoResultException: No entity found for query
OR
javax.persistence.NonUniqueResultException: result returns more than one elements</pre>
Then it is most likely that your database does not have even a single record matching your query OR you have too many results being returned.
Normally this happens when the method  ... <a href="https://www.javabrahman.com/j2ee/jpa/no-result-exception/" class="more-link">Continue reading <span class="screen-reader-text">How to resolve javax.persistence.NoResultException OR javax.persistence.NonUniqueResultException in JPA</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/jpa/no-result-exception</link><guid isPermaLink="false">no-result-exception</guid><category><![CDATA[JPA]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 20 Jun 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Diamond Operator in JDK 7 or Java 7 explained with example]]></title><description><![CDATA[Tutorial first explains how defining a collection until Java 6 was more cumbersome, and then shows usage of diamond operator which eases collection definition in Java 7  ... <a href="https://www.javabrahman.com/newfeaturesjava7/diamond-operator-jdk-7/" class="more-link">Continue reading <span class="screen-reader-text">Diamond Operator in JDK 7 or Java 7 explained with example</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/newfeaturesjava7/diamond-operator-jdk-7</link><guid isPermaLink="false">diamond-operator-jdk-7</guid><category><![CDATA[New Features in Java 7]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 19 Feb 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to Build a JAR File using a Maven Project in Eclipse]]></title><description><![CDATA[This tutorial details how to create a JAR File Using Maven in Eclipse . I.e. if you want to generate a JAR as the result of your Maven Install command then this tutorial is for you. Then this JAR can be included as a dependency in a different project and becomes reusable. 
<em>Pre-requisite for this tutorial</em> - The Eclipse plugin "Maven Integration for Eclipse (Juno and newer)" should be installed in your copy of Eclipse IDE. Lets start off the with the tutorial then ... <a href="https://www.javabrahman.com/maven/how-to-build-jar-using-maven-project-eclipse/" class="more-link">Continue reading <span class="screen-reader-text">How to Create JAR File with Maven in Eclipse</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/maven/how-to-build-jar-using-maven-project-eclipse</link><guid isPermaLink="false">how-to-build-jar-using-maven-project-eclipse</guid><category><![CDATA[Maven]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 14 Feb 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Merge Sort in Java]]></title><description><![CDATA[<em>Merge Sort is a divide-and-conquer algorithm</em>.
<em>Divide-and-conquer algorithms</em> work on the principle of dividing the problem into smaller, more manageable, sub-problems recursively until these sub-problems become simple enough to be solved directly. The solutions to these sub-problems are then merged in the reverse order in the recursive chain to obtain the final desired result.
Lets now see how divide-and-conquer is applied in Merge Sort. We will take up merge sort solution in  ... <a href="https://www.javabrahman.com/algorithms-in-java/merge-sort-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Merge Sort in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/algorithms-in-java/merge-sort-in-java</link><guid isPermaLink="false">merge-sort-in-java</guid><category><![CDATA[Algorithms &amp; DS in Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 05 Feb 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Selection Sort in Java]]></title><description><![CDATA[<em>What is Selection Sort</em>: Tutorial explains the Selection Sort Algorithm with an example list.It then provides the Java implementation of Selection Sort Algorithm and its Big Oh complexity. Contains video explanation of the algorithm and Java code as well.  ... <a href="https://www.javabrahman.com/algorithms-in-java/selection-sort-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Selection Sort in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/algorithms-in-java/selection-sort-in-java</link><guid isPermaLink="false">selection-sort-in-java</guid><category><![CDATA[Algorithms &amp; DS in Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sat, 01 Feb 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to compute Factorial using a recursive algorithm in Java]]></title><description><![CDATA[<em>Introduction</em> - This tutorial starts with explaining the basic factorial calculation formula. It then shows how the factorial formula is recursive in nature. Next we will look at how to implement factorial formula in Java in a recursive manner and then explains the code in detail  ... <a href="https://www.javabrahman.com/gen-java-/factorial-using-recursion-in-java/" class="more-link">Continue reading <span class="screen-reader-text">How to compute Factorial using a recursive algorithm in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/gen-java-programs/factorial-using-recursion-in-java</link><guid isPermaLink="false">factorial-using-recursion-in-java</guid><category><![CDATA[General Java Programs]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Wed, 29 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Insertion Sort in Java.]]></title><description><![CDATA[<em>What is Insertion Sort</em>: Insertion sort works by progressively sorting a sub-list of the given list of items. With every iteration\pass the insertion sort algorithm keeps "inserting" the next item in the list in the correct position in this sorted sub-list.I.e. with every pass one item more is picked from the unsorted portion and is inserted in to the correct place in the sorted portion.
<em>Insertion Sort's working in detail</em>: Lets say the list which is to be sorted is   ... <a href="https://www.javabrahman.com/algorithms-in-java/insertion-sort-in-java/" class="more-link">Continue reading <span class="screen-reader-text">Insertion Sort in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/algorithms-in-java/insertion-sort-in-java</link><guid isPermaLink="false">insertion-sort-in-java</guid><category><![CDATA[Algorithms &amp; DS in Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 28 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Java Parameter Passing is 'Pass By Value' Or 'Pass By Reference']]></title><description><![CDATA[Tutorial on Java Parameter Passing being 'Pass By Value' Or 'Pass By Reference' first explains parameter passing basics for programming languages, then details parameter passing mechanism of Java  ... <a href="https://www.javabrahman.com/corejava/java-parameter-passing-by-value-or-reference/ ‎" class="more-link">Continue reading <span class="screen-reader-text">Java Parameter Passing is 'Pass By Value' Or 'Pass By Reference'</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/corejava/java-parameter-passing-by-value-or-reference</link><guid isPermaLink="false">java-parameter-passing-by-value-or-reference</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 26 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Bubble Sort in Java]]></title><description><![CDATA[<em>What is Bubble Sort</em>: Bubble Sort, considered by many to be the simplest of sorts, works by progressively in-place sorting(ie. not using up extra space while sorting) a list of items by moving the lowest valued item to the to the top or largest valued item to the bottom(for an ascending sort). It keeps lining bigger and bigger elements below the earlier smaller ones. In this way the whole array gets sorted.
<em>Bubble Sort's working in detail</em>  ... <a href="https://www.javabrahman.com/algorithms-in-java/bubble-sort-in-java" class="more-link">Continue reading <span class="screen-reader-text">Bubble Sort in Java</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/algorithms-in-java/bubble-sort-in-java</link><guid isPermaLink="false">bubble-sort-in-java</guid><category><![CDATA[Algorithms &amp; DS in Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Mon, 20 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Reverse Engineering of JPA Entities with JBoss Tools Eclipse Plugin.]]></title><description><![CDATA[<em>The tutorial below details how to do reverse engineering of Hibernate/JPA POJO entities from database tables.</em>
The database tables\entities which are used for this tutorial are Course, Department and Student. The way these 3 tables are related are Courses have a many-to-many relationship with Students and Students have a many-to-many relationship with Departments. This means  ... <a href="https://www.javabrahman.com/eclipse-plugins/how-to-do-reverse-code-generation-of-hibernatejpa-pojo-entities-using-jboss-tools-eclipse-plugin/" class="more-link">Continue reading <span class="screen-reader-text">Reverse Engineering of JPA Entities with JBoss Tools Eclipse Plugin.</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/eclipse-plugins/how-to-do-reverse-code-generation-of-hibernatejpa-pojo-entities-using-jboss-tools-eclipse-plugin</link><guid isPermaLink="false">how-to-do-reverse-code-generation-of-hibernatejpa-pojo-entities-using-jboss-tools-eclipse-plugin</guid><category><![CDATA[Eclipse Plugins|JPA]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 17 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to setup a JPA Project with a Data Connection for MySQL in Eclipse.]]></title><description><![CDATA[<em>The tutorial below details how to setup a JPA Project in Eclipse. As part of the JPA Project creation a Data Connection to a local MySQL database instance will also be configured.</em>
<em>Note</em> - This tutorial has been created using Eclipse Juno.
<em>Step 1</em>: Click in  ... <a href="https://www.javabrahman.com/eclipse-plugins/how-to-setup-a-jpa-project-with-a-data-connection-for-mysql-in-eclipse/" class="more-link">Continue reading <span class="screen-reader-text">How to setup a JPA Project with a Data Connection for MySQL in Eclipse.</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/eclipse-plugins/how-to-setup-a-jpa-project-with-a-data-connection-for-mysql-in-eclipse</link><guid isPermaLink="false">how-to-setup-a-jpa-project-with-a-data-connection-for-mysql-in-eclipse</guid><category><![CDATA[Eclipse Plugins|JPA]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 12 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[How to Install JBoss Tools Eclipse Plugin]]></title><description><![CDATA[<em>The tutorial below details the steps to install JBoss Tools Eclipse Plugin</em>.
<em>Note</em>-Hibernate Tools Plugin, which is now a part of JBoss Tools, gets installed along with JBoss Tools with no extra setup required.
<em>Note 2</em>- This tutorial is created using Eclipse Juno.
<em>Step 1</em> - Click on  ... <a href="https://www.javabrahman.com/eclipse-plugins/how-to-install-jboss-tools-eclipse-plugin/" class="more-link">Continue reading <span class="screen-reader-text">How to Install JBoss Tools Eclipse Plugin</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/eclipse-plugins/how-to-install-jboss-tools-eclipse-plugin</link><guid isPermaLink="false">how-to-install-jboss-tools-eclipse-plugin</guid><category><![CDATA[Eclipse Plugins|JPA]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 12 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Fix for dynamic html form using javascript not working in IE and Mozilla.]]></title><link>https://www.javabrahman.com/javascripthtml/fix-for-dynamic-html-form-using-javascript-not-working-in-ie-and-mozilla</link><guid isPermaLink="false">fix-for-dynamic-html-form-using-javascript-not-working-in-ie-and-mozilla</guid><category><![CDATA[JavaScript and HTML]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Thu, 09 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Check Uncheck All Checkboxes in Html Using JavaScript]]></title><description><![CDATA[One of the most common javascript needs for a webpage which shows data in a table is to provide a facility to select a row of data via a checkbox. On top of such rows of data a "Select All" or "Unselect All" checkbox is provided. Checking of this global checkbox checks all row level checkboxes and unchecking of the global checkbox unchecks all row-level ones. The code below is a  ... <a href="https://www.javabrahman.com/javascripthtml/check-uncheck-all-checkboxes-in-html-using-javascript" class="more-link">Continue reading <span class="screen-reader-text">Check Uncheck All Checkboxes in Html Using JavaScript</span> <span class="meta-nav">&rarr;</span></a>]]></description><link>https://www.javabrahman.com/javascripthtml/check-uncheck-all-checkboxes-in-html-using-javascript</link><guid isPermaLink="false">check-uncheck-all-checkboxes-in-html-using-javascript</guid><category><![CDATA[JavaScript and HTML]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Fri, 03 Jan 2014 00:00:00 GMT</pubDate></item><item><title><![CDATA[Regular Expression for Email Address.]]></title><link>https://www.javabrahman.com/undefined/regular-expression-for-email-address</link><guid isPermaLink="false">regular-expression-for-email-address</guid><category><![CDATA[Core Java]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Sun, 29 Dec 2013 00:00:00 GMT</pubDate></item><item><title><![CDATA[String in switch case in java 7]]></title><link>https://www.javabrahman.com/corejava/string-in-switch-case-in-java-7</link><guid isPermaLink="false">string-in-switch-case-in-java-7</guid><category><![CDATA[Core Java|New Features in Java 7]]></category><dc:creator><![CDATA[Dhruv Rai Puri]]></dc:creator><pubDate>Tue, 24 Dec 2013 00:00:00 GMT</pubDate></item></channel></rss>