George John has Published 1167 Articles

What is the fastest, pure JavaScript, Graph visualization toolkit?

George John

George John

Updated on 30-Jul-2019 22:30:21

86 Views

The fastest and pure JavaScripr Graph visualization toolkit isJavaScript InfoVis Toolkit. With it, you can, Perform Graph manipulation, Create bar graphs, Custom nodes, Implementing NodeTypes Adding subtrees, Drag and drop nodes, etc.

How to add a Favicon to Your WordPress Site?

George John

George John

Updated on 30-Jul-2019 22:30:21

137 Views

A favicon is a little icon visible on the web browser tab, just before the page title. It is generally a logo with the smaller size. You need to include a Site Icon in WordPress to add a favicon to your WordPress site. Login to your WordPress website and from ... Read More

Checking for Null or Empty in Java.

George John

George John

Updated on 30-Jul-2019 22:30:21

12K+ Views

We can check whether a particular String is empty or not, using isBlank() method of the StringUtils class. This method accepts an integer as a parameter and returns true if the given string is empty, or false if it is not. Example Live Demo import org.apache.commons.lang3.StringUtils; public ... Read More

Java variable naming rules

George John

George John

Updated on 30-Jul-2019 22:30:21

3K+ Views

All Java components require names. Names used for classes, variables, and methods are called identifiers. In Java, there are several points to remember about identifiers. They are as follows - Step 1 − All identifiers should begin with a letter (A to Z or a to z), currency character ($) ... Read More

Atomic variables in Java

George John

George John

Updated on 30-Jul-2019 22:30:21

139 Views

Yes, from Java 8 onwards, java.util.concurrent.atomic package contains classes which support atomic operations on single variables preventing race conditions or do not face synchronization issues. All classes in the atomic package have get/set methods. Each set method has a happens-before relationship with any subsequent get() method call on the same ... Read More

Java Variable Narrowing Example

George John

George John

Updated on 30-Jul-2019 22:30:21

2K+ Views

Narrowing refers to passing a higher size data type like int to a lower size data type like short. It may lead to data loss. Casting is required for narrowing conversion. Following program output will be 44. public class MyFirstJavaProgram { public static void main(String []args) ... Read More

Regex named groups in Java

George John

George John

Updated on 30-Jul-2019 22:30:21

184 Views

Java Regex Capturing Groups

What is a smart pointer and when should I use it in C++?

George John

George John

Updated on 30-Jul-2019 22:30:21

294 Views

A smart pointer is a class that wraps a 'raw' (or 'bare') C++ pointer. It is used to manage resources the pointer points to. For example, if the reference to that memory location is lost. It kind of acts like a garbage collector. There are multiple smart pointer types.You should ... Read More

In MySQL, how to check for a pattern which is not present within an expression?

George John

George John

Updated on 30-Jul-2019 22:30:21

52 Views

MySQL NOT RLIKE operator can be used to check for a pattern which is not present within an expression. The syntax for NOT RLIKE is as follows − Syntax NOT RLIKE Pat_not_for_match Here Pat_not_for_match is the pattern which is not to be matched with the expression. Example ... Read More

How MySQL SUM() function evaluates if the column having NULL values too?

George John

George John

Updated on 30-Jul-2019 22:30:21

918 Views

Suppose if we are calculating the sum of the values of a column which also have NULL values then MySQL SUM() function ignores the NULL values and does the sum of the rest of the values. To understand it, consider the following example of table ‘employee’, having following details − ... Read More

Advertisements