Java · Oracle WCS (Fatwire) · Technical

Fatwire | How to create new Category with Page asset


Page asset provides Category for categorization purpose. In this article i will explain “how to create new Category for page assets”. Login to system with admin rights Go to Advance environment Goto Admin > Asset Types > Page > Categories Here we will find all association with page asset (see Figure 1) Figure 1 –… Continue reading Fatwire | How to create new Category with Page asset

Java · Technical

Java String – equals() vs length() to check empty string


In any kind of implementation, i (actually everyone) perform some empty string operation: if(null != myString && !””.equals(myString))     … } .equals() method compare each character of strings to check the equality. In the example above we are: Creating a String object (“”) with 0 length using .equals() method to check if both strings are equal… Continue reading Java String – equals() vs length() to check empty string

Collection · Java

HashMap – How it works?


On very high level, Hash Map is used to store data in form of key value pair. “Hash Map is a Hash table based implementation of the Map interface. This implementation provides all of the optional map operations, and permits null values and the null key. (The HashMap class is roughly equivalent to Hashtable, except… Continue reading HashMap – How it works?