Code example for Range

Methods: contains

0
    @Override 
    public boolean accept(CacheEntry entry) 
    { 
        long lastAccess =
            System.currentTimeMillis() - entry.getLastAccessTime();
        return _time.contains(lastAccess / 1000);
    } 
} 
Experience pair programming with AI  Get Codota for Java