- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {DateTime d =
new DateTime()
DateTimeFormatter formatter;String text;formatter.parseDateTime(text)
Object instant;new DateTime(instant)
- Smart code suggestions by Codota
}
public void putObject(String name, T value) { checkNotNull(name); long now = System.currentTimeMillis(); cleanup(now); CacheEntry<T> entry = new CacheEntry<T>(now, value); cache.put(name, entry); }