-
Spring Data MongoDB : get last modified records (date sorting)
In Mongodb, you can use sort()to do the date sorting.
Date: 2019-08-17 View: 1903
-
Java Time elapsed in days, hours, minutes, seconds
Two Java examples show you how to print the elapsed time in days, hours, minutes and seconds format.
Date: 2019-08-17 View: 1518
-
Java How to calculate leap year
A leap year is a year containing one additional day (366 days a year). Review the leap year algorithm :
Date: 2019-08-17 View: 1233
-
Where to download Java JDK source code ?
The JDK source code is inside the src.zip, this article shows you how to get it on Windows, Ubuntu (Linux) and Mac OSX.
Date: 2019-08-17 View: 1836
-
Eclipse How to attach JDK source code
This article shows you how to attach the JDK source code in Eclipse IDE.
Date: 2019-08-17 View: 1678
-
Java Date and Calendar examples
This tutorial shows you how to work with java.util.Date and java.util.Calendar.
Date: 2019-08-17 View: 1353
-
Spring MVC + jQuery Autocomplete example
In this tutorial, we show you how to integrate jQuery autocomplete plugin with Spring MVC.
Date: 2019-08-17 View: 1731
-
MongoDB find all documents where an array / list size is greater than N
Review following documents :
Date: 2019-08-17 View: 1472
-
Java and 0xFF example
Before you understand what is & 0xFF, make sure you know following stuffs :
Date: 2019-08-17 View: 1319
-
Java Convert IP address to Decimal Number
In this tutorial, we show you how to convert an IP address to its decimal equivalent in Java, and vice versa. For examples :
Date: 2019-08-17 View: 1378
-
TestNG Hello World Example
A classic example, show you how to get started with TestNG unit test framework.
Date: 2019-08-17 View: 1529
-
Java Custom Annotations Example
In this tutorial, we will show you how to create two custom annotations – @Test and @TestInfo, to simulate a simple unit test framework.
Date: 2019-08-17 View: 1415
-
TestNG + Selenium Load Testing Example
In this tutorial, we will show you how to use @Test attributes invocationCount and threadPoolSize to perform a load test or stress test on a website.
Date: 2019-08-17 View: 1594
-
Donate to Charity
If you like my works and tutorials on “mkyong.com”, please consider making a donation of $10 or whatever you can to protect and sustain the following charities :
Date: 2019-08-17 View: 1821
-
Java Write directly to memory
You have been told a lot that you can’t manage memory in Java. Well, it has changed since HotSpot release of the Java VM. There is a way to directly allocate and deallocate memory as well as write and read it… Of course we are talking about the JVM memory where the Java program runs. In this tutorial we are going to show you codes that deal with this topic.
Date: 2019-08-17 View: 1141