Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getWithoutCaching (0.2 sec)

  1. android/guava/src/com/google/common/graph/MapIteratorCache.java

        V value = getIfCached(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return getWithoutCaching(key);
        } else {
          return value;
        }
      }
    
      @CheckForNull
      final V getWithoutCaching(Object key) {
        checkNotNull(key);
        return backingMap.get(key);
      }
    
      final boolean containsKey(@CheckForNull Object key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

            --edgeCount;
          }
        }
    
        for (N successor : ImmutableList.copyOf(connections.successors())) {
          // requireNonNull is safe because the node is a successor.
          requireNonNull(nodeConnections.getWithoutCaching(successor)).removePredecessor(node);
          requireNonNull(connections.removeSuccessor(successor));
          --edgeCount;
        }
        if (isDirected()) { // In undirected graphs, the successor and predecessor sets are equal.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/MapRetrievalCache.java

      @Override
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        if (value != null) {
          return value;
        }
    
        value = getWithoutCaching(key);
        if (value != null) {
          addToCache((K) key, value);
        }
        return value;
      }
    
      // Internal methods (package-visible, but treat as only subclass-visible)
    
      @Override
      @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.2K bytes
    - Viewed (0)
Back to top