com.venky.core.collections.LowerCaseStringCache 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 LowerCaseStringCache extends Cache{
/**
*
*/
private static final long serialVersionUID = -6371406286614896615L;
private LowerCaseStringCache(){
super();
}
private static LowerCaseStringCache instance = new LowerCaseStringCache();
public static LowerCaseStringCache instance(){
return instance;
}
@Override
protected String getValue(String k) {
return String.valueOf(k).toLowerCase();
}
}