com.venky.core.collections.UpperCaseStringCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common Show documentation
Show all versions of common Show documentation
Commonly used programming tasks in java
package com.venky.core.collections;
import com.venky.cache.Cache;
public class UpperCaseStringCache extends Cache{
/**
*
*/
private static final long serialVersionUID = 7183202541501222694L;
private UpperCaseStringCache(){
super();
}
private static UpperCaseStringCache instance = new UpperCaseStringCache();
public static UpperCaseStringCache instance(){
return instance;
}
@Override
protected String getValue(String k) {
return String.valueOf(k).toUpperCase();
}
}