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 { /**

140 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. Naveen@javadomain.in, here javadomain.in is your own domain name and Naveen@javadomain.in 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

188 total views, 1 views today

» Read more

Get free talktime worth 5% of your purchase on any product from Flipkart.com

Get free talktime worth 5% of your purchase on any product from Flipkart.com *Please use the Flipkart search box on the right side of the screen. *On click of the desired product, you will be redirected to the Flipkart website. *Applicable on purchase of products worth Rs. 500 and above only. *Not Valid on Flipkart e-gift vouchers. *Recharge will be

159 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…… 175 total

175 total views, 1 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(Projections.property(“id”))); 3. criteria.setProjection(Projections.distinct(Projections.id())); Recommended Solution: criteria.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY); If nothing is working then change the list to set, so that duplicates

203 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"

172 total views, 1 views today

» Read more