Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 433 for safety (0.19 sec)

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

                return entryIterator.hasNext();
              }
    
              @Override
              public K next() {
                Entry<K, V> entry = entryIterator.next(); // store local reference for thread-safety
                cacheEntry = entry;
                return entry.getKey();
              }
            };
          }
    
          @Override
          public int size() {
            return backingMap.size();
          }
    
    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. guava/src/com/google/common/collect/CompactLinkedHashMap.java

      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> result = super.convertToHashFloodingResistantImplementation();
        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
       * link(), which is defined at the end of this file.
       */
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
    
        CountDownLatch successLatch = new CountDownLatch(1);
    
        // Run cancellation in a separate thread as an extra thread-safety test.
        new Thread(
                () -> {
                  assertThrows(CancellationException.class, future::get);
                  successLatch.countDown();
                })
            .start();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 18:30:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

     * equality for both keys and values, unlike {@code ForwardingMap}.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      Map<K, V> convertToHashFloodingResistantImplementation() {
        Map<K, V> result = super.convertToHashFloodingResistantImplementation();
        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
       * link(), which is defined at the end of this file.
       */
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        Set<E> result = super.convertToHashFloodingResistantImplementation();
        this.predecessor = null;
        this.successor = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableMultiset#builder} from consumers of {@code
       * ImmutableSortedMultiset}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedMultiset#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder.")
      @Deprecated
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        Set<E> result = super.convertToHashFloodingResistantImplementation();
        this.predecessor = null;
        this.successor = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Not supported. Use {@link #naturalOrder}, which offers better type-safety, instead. This method
       * exists only to hide {@link ImmutableSet#builder} from consumers of {@code ImmutableSortedSet}.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Use {@link ImmutableSortedSet#naturalOrder}, which offers better type-safety.
       */
      @DoNotCall("Use naturalOrder")
      @Deprecated
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * comparator is not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Mike Bostock
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top