Java and Eclipse Plugin Development

Java, Eclipse Plugin Development and best software development practices

Monday, December 31, 2012

SoftHashMap - hashmap with soft values

›
The biggest problem with WeakHashMap is, it will only weakly reference the keys but not the values. This may lead to memory issues if we a...

Eclipse author ${user} variable

›
Here is a small “hack” which can put anything you want in this  ${user}  variable. Add one more variable in the eclipse.ini file wit...
Sunday, December 30, 2012

Force overwrite on git pull

›
How do I force an overwrite of local files on a git pull? git fetch --all git reset --hard origin/master git fetch  downloads the late...
Thursday, December 27, 2012

Image decorator

›
Here is the simple snippet to add a decorator to the image. @Override public Image getImage(Object element) { if (resource i...
Wednesday, December 5, 2012

Increase heap size to your eclipse

›
Here is the example to specify the eclipse vm arguments in eclipse.ini file to avoid eclipse memory issues during your development. -s...
Wednesday, November 28, 2012

Collections emptyList()

›
Can you guess the output for the below program ? import java.util.Collections; import java.util.List; public class CollectionsTest { ...

My JAXB Learnings - Part 2

›
As part of this post, you will be understanding on the following concepts in the JAXB through an example. 1. Defining the name space 2....
‹
›
Home
View web version

About Me

KK
Learn, share and repeat!
View my complete profile
Powered by Blogger.