Codota Logo
SoftCache$CacheEntry.getValue
Code IndexAdd Codota to your IDE (free)

How to use
getValue
method
in
com.palantir.util.SoftCache$CacheEntry

Best Java code snippets using com.palantir.util.SoftCache$CacheEntry.getValue (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: palantir/atlasdb

public synchronized Set<V> removeMatchingKeys(com.google.common.base.Predicate<K> predicate) {
  Set<V> removedValues = Sets.newHashSet();
  Iterator<Entry<K, CacheEntry<V>>> entryIterator = cacheEntries.entrySet().iterator();
  while (entryIterator.hasNext()) {
    Entry<K, CacheEntry<V>> entry = entryIterator.next();
    if (predicate.apply(entry.getKey())) {
      entryIterator.remove();
      removedValues.add(entry.getValue().getValue());
    }
  }
  return removedValues;
}
origin: palantir/atlasdb

public synchronized boolean containsValue(V val) {
  for (CacheEntry<V> entry : cacheEntries.values()) {
    V myValue = entry.getValue();
    if (myValue != null && myValue.equals(val)) {
      return true;
    }
  }
  return false;
}
origin: palantir/atlasdb

V ret = entry.getValue();
origin: palantir/atlasdb

private V safeValue(CacheEntry<V> entry) {
  return (entry != null) ? entry.getValue() : null;
}
origin: com.palantir.atlasdb/atlasdb-commons

public synchronized boolean containsValue(V val) {
  for (CacheEntry<V> entry : cacheEntries.values()) {
    V myValue = entry.getValue();
    if (myValue != null && myValue.equals(val)) {
      return true;
    }
  }
  return false;
}
origin: com.palantir.atlasdb/atlasdb-commons

public synchronized Set<V> removeMatchingKeys(com.google.common.base.Predicate<K> predicate) {
  Set<V> removedValues = Sets.newHashSet();
  Iterator<Entry<K, CacheEntry<V>>> entryIterator = cacheEntries.entrySet().iterator();
  while (entryIterator.hasNext()) {
    Entry<K, CacheEntry<V>> entry = entryIterator.next();
    if (predicate.apply(entry.getKey())) {
      entryIterator.remove();
      removedValues.add(entry.getValue().getValue());
    }
  }
  return removedValues;
}
origin: com.palantir.atlasdb/atlasdb-commons

private V safeValue(CacheEntry<V> entry) {
  return (entry != null) ? entry.getValue() : null;
}
origin: com.palantir.atlasdb/atlasdb-commons

V ret = entry.getValue();
com.palantir.utilSoftCache$CacheEntrygetValue

Popular methods of SoftCache$CacheEntry

  • isValid

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Collectors (java.util.stream)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now