Latest Articles & Tutorials on Java, J2EE, Design Patterns, JavaScript, HTML5

JavaBrahman Homepage Cover Photo

Latest@JavaBrahmanVideo Tutorials

Java 8 java.time.temporal. TemporalAdjuster tutorial with examples

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 … Continue reading Java 8 java.time.temporal.TemporalAdjuster tutorial with examples

Java 8 – How to get Day of Week, Month in Spanish, French for any date using Locale

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 … Continue reading Java 8 – How to Day of Week, Month in Spanish, French for any date using Locale

Java 8 – How to get day of week for a given date using java.time.DayOfWeek with examples

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 … Continue reading Java 8 – How to get day of week for a given date using java.time.DayOfWeek with examples

Understanding equals and hashcode contract when using collections in Java

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 … Continue reading Understanding equals and hashcode contract when using collections in Java

How to get IP Address and Hostname in Java using InetAddress with example

Tutorial explains how to get IP address and hostname in Java of the localhost or server machine using java.net.InetAddress class with InetAddress.getIpAddress() and InetAddress.getHostname() methods with java code example … Continue reading How to get IP Address and Hostname in Java using InetAddress with example

Java 8 – Working with LocalDate, LocalTime, LocalDateTime – tutorial with examples

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 … Continue reading Java 8 – Working with LocalDate, LocalTime, LocalDateTime – tutorial with examples

Follow on Twitter Follow on Google+

 

Digiprove sealCopyright © 2014-2016 JavaBrahman.com, all rights reserved.
All original content on these pages is fingerprinted and certified by Digiprove