Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for confirm (0.17 sec)

  1. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      }
    
      /** Confirm that get() returns a List implementing RandomAccess. */
      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      }
    
      /** Confirm that get() returns a List implementing RandomAccess. */
      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        suite.addTestSuite(LinkedListMultimapTest.class);
        return suite;
      }
    
      protected LinkedListMultimap<String, Integer> create() {
        return LinkedListMultimap.create();
      }
    
      /** Confirm that get() returns a List that doesn't implement RandomAccess. */
      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        /*
         * The main test thread tries to stop() the service shortly after
         * confirming that it is running. Meanwhile, the service itself is trying
         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              BinaryOperator<V> mergeFunction) {
        return CollectCollectors.toImmutableSortedMap(
            comparator, keyFunction, valueFunction, mergeFunction);
      }
    
      /*
       * TODO(kevinb): Confirm that ImmutableSortedMap is faster to construct and
       * uses less memory than TreeMap; then say so in the class Javadoc.
       */
      private static final Comparator<?> NATURAL_ORDER = Ordering.natural();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

       * The following methods are safe to call as long as both of the following hold:
       *
       * - allocArrays() has been called. Callers can confirm this by checking needsAllocArrays().
       *
       * - The map has not switched to delegating to a java.util implementation to mitigate hash
       *   flooding. Callers can confirm this by null-checking delegateOrNull().
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        suite.addTestSuite(LinkedListMultimapTest.class);
        return suite;
      }
    
      protected LinkedListMultimap<String, Integer> create() {
        return LinkedListMultimap.create();
      }
    
      /** Confirm that get() returns a List that doesn't implement RandomAccess. */
      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. android/pom.xml

                       animal-sniffer. And that would be fine for our -jre builds:
                       If we're building with JDK8, then clearly we're sticking to
                       JDK8 APIs. However, I assume (but did not confirm) that we'd
                       have the same issue with our -android builds, which need
                       animal-sniffer so that they can check that we're sticking to
                       JDK6-like APIs.
    
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      static Thread newThread(String name, Runnable runnable) {
        checkNotNull(name);
        checkNotNull(runnable);
        // TODO(b/139726489): Confirm that null is impossible here.
        Thread result = requireNonNull(platformThreadFactory().newThread(runnable));
        try {
          result.setName(name);
        } catch (SecurityException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top