Sorting irrespective of case in java

sorting irrespective of case in java

Sorting irrespective of case in java: In Java if you want to sort the elements then you can use treeset. Set will not allow duplicates, but if you have the same element in both small and upper case then it will consider that as separate elements.   Sorting respective of case: import java.util.Set; import java.util.TreeSet; public class Sorting { /** […]

623 total views, 1 views today

» Read more

Adding custom Email to Gmail

Adding custom email to gmail

Adding Custom Email to Gmail: If you are having your own website, then you will be having your custom email address., here is your own domain name and is custom email address. You can add your custom email address to gmail and you can enjoy all the features of gmail for custom email address. Custom email can […]

599 total views, no views today

» Read more

Increasing the console size in eclipse

[social_share style=”bar” align=”horizontal” heading_align=”inline” facebook=”1″ twitter=”1″ google_plus=”1″ linkedin=”1″ pinterest=”1″ /] Increasing the console size in eclipse Windows -> Preferences -> Run/Debug -> Console Limit console output (check) Then increase the size in the console buffer size textbox. Note: 1000000 (around 1MB of text) is the max one in many of the eclipse version. Feel free to share your comments/feedbacks…… 513 total […]

513 total views, no views today

» Read more

Hibernate Criteria Duplicate Records Issue [Solved]

Hibernate Criteria Duplicate Records Issue: Problem: Duplicate same records with hibernate join. In Hibernate if we did join, we may get duplicates sometime. Below are the possible ways to resolve the duplicate same record value issue, Possible Solutions: 1. criteria.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); 2. criteria.setProjection(Projections.distinct(“id”))); 3. criteria.setProjection(Projections.distinct(; Recommended Solution: criteria.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); If nothing is working then change the list to set, so that duplicates […]

515 total views, no views today

» Read more

Starting SVN Server in Windows [command]

Here We are considering that you have already created the svn repository. Below is the command to start the svn server. Once the svn server started only we can access the repository. SVN Command Syntax: svnserve -d -r REPO_PATH If svn repository created in D:/SVN_REPO, then you have to run the below command SVN Command Example: svnserve -d -r "D:/SVN_REPO" […]

549 total views, 1 views today

» Read more