Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Senegal (0.15 sec)

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

        assertTrue(partitions.hasNext());
        assertEquals(ImmutableList.of(1), partitions.next());
        assertFalse(partitions.hasNext());
      }
    
      @GwtIncompatible // fairly slow (~50s)
      public void testPartition_general() {
        new IteratorTester<List<Integer>>(
            5,
            IteratorFeature.UNMODIFIABLE,
            ImmutableList.of(asList(1, 2, 3), asList(4, 5, 6), asList(7)),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

                        return Sets.newConcurrentHashSet(Arrays.asList(elements));
                      }
                    })
                .named("Sets.newConcurrentHashSet")
                .withFeatures(CollectionSize.ANY, SetFeature.GENERAL_PURPOSE)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
       * comparator has a more general type than the map's keys, such as creating a {@code
       * SortedMap<Integer, String>} with a {@code Comparator<Number>}, use the {@link Builder}
       * constructor instead.
       *
    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)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
       * comparator has a more general type than the map's keys, such as creating a {@code
       * SortedMap<Integer, String>} with a {@code Comparator<Number>}, use the {@link Builder}
       * constructor instead.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered sets can lead to unexpected and undefined behavior.
       *
       * @since 20.0
       */
      @GwtIncompatible // NavigableSet
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(partitions.hasNext());
        assertEquals(ImmutableList.of(1), partitions.next());
        assertFalse(partitions.hasNext());
      }
    
      @GwtIncompatible // fairly slow (~50s)
      public void testPartition_general() {
        new IteratorTester<List<Integer>>(
            5,
            IteratorFeature.UNMODIFIABLE,
            ImmutableList.of(asList(1, 2, 3), asList(4, 5, 6), asList(7)),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       * is. The {@code equals} and {@code hashCode} methods of the returned multimap are meaningless,
       * since there is not a definition of {@code equals} or {@code hashCode} for general collections,
       * and {@code get()} will return a general {@code Collection} as opposed to a {@code List} or a
       * {@code Set}.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

     * explanation.
     *
     * @param <K> the most general key type this builder will be able to create caches for. This is
     *     normally {@code Object} unless it is constrained by using a method like {@code
     *     #removalListener}. Cache keys may not be null.
     * @param <V> the most general value type this builder will be able to create caches for. This is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    the initial write (just stronger guarantees if it does).
      //
      // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html
      // For a (long) discussion about this specific issue and the general futility of life.
      //
      // For the time being we are OK with the problem discussed above since it requires a caller to
      // introduce a very specific kind of data-race. And given the other operations performed by these
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top